mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-09 09:38:07 +08:00
fix(draft-list-sidebar-item): draft count renders correctly. fixes T3480.
Summary: I think I might've broken this when I fixed T3402, but I didn't realize it because I had zero drafts at the time, so this component didn't render for me. Test Plan: tested manually Reviewers: bengotow Maniphest Tasks: T3402, T3480 Differential Revision: https://phab.nylas.com/D1965
This commit is contained in:
parent
954fac1160
commit
1b929ec91d
1 changed files with 1 additions and 1 deletions
|
@ -32,9 +32,9 @@ class DraftListSidebarItem extends React.Component
|
|||
unread = <div className="unread item-count-box">{@state.count}</div>
|
||||
|
||||
<div className={classSet} onClick={@_onClick}>
|
||||
{unread}
|
||||
<div className="icon"><RetinaImg name={'drafts.png'} mode={RetinaImg.Mode.ContentIsMask} /></div>
|
||||
<div className="name"> {@props.item.name}</div>
|
||||
{unread}
|
||||
</div>
|
||||
|
||||
_onClick: (event) =>
|
||||
|
|
Loading…
Reference in a new issue