mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-10-01 08:54:52 +08:00
fix(thread-list-actions): Fix bad return []
This commit is contained in:
parent
bd973e3869
commit
2312bb60a4
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ class ThreadListQuickActions extends React.Component
|
|||
else if AccountStore.current().usesLabels() and @props.categoryId == CategoryStore.getStandardCategory('all').id
|
||||
actions.push <div key="trash" className="btn action action-trash" onClick={@_onTrash}></div>
|
||||
|
||||
return [] if actions.length is 0
|
||||
return false if actions.length is 0
|
||||
|
||||
<div className="inner">
|
||||
{actions}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue