From f8e30513f80d92da0d48dacb6dcb850adde7476b Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Tue, 9 Feb 2016 15:02:02 -0800 Subject: [PATCH] fix(important): Icon does not update from nextProps --- src/components/mail-important-icon.cjsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/mail-important-icon.cjsx b/src/components/mail-important-icon.cjsx index 150a16c06..6cd92d4ad 100644 --- a/src/components/mail-important-icon.cjsx +++ b/src/components/mail-important-icon.cjsx @@ -38,7 +38,7 @@ class MailImportantIcon extends React.Component category = CategoryStore.getStandardCategory(props.thread.accountId, 'important') visible = category? - isImportant = category and _.findWhere(@props.thread.categories, {id: category.id})? + isImportant = category and _.findWhere(props.thread.categories, {id: category.id})? {visible, category, isImportant}