fix(important): Icon does not update from nextProps

This commit is contained in:
Ben Gotow 2016-02-09 15:02:02 -08:00
parent ee17baacc7
commit f8e30513f8

View file

@ -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}