mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-28 19:31:14 +08:00
fix(important): Icon does not update from nextProps
This commit is contained in:
parent
5676a52d47
commit
6876a2f7d0
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class MailImportantIcon extends React.Component
|
||||||
category = CategoryStore.getStandardCategory(props.thread.accountId, 'important')
|
category = CategoryStore.getStandardCategory(props.thread.accountId, 'important')
|
||||||
visible = category?
|
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}
|
{visible, category, isImportant}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue