1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

Add counter on deleted notes

This commit is contained in:
Paul Rosset
2017-11-01 17:54:35 +00:00
parent 7d97784a58
commit c8256bea3a
3 changed files with 6 additions and 1 deletions

View File

@@ -72,6 +72,7 @@ class SideNav extends React.Component {
isTrashedActive={isTrashedActive}
handleStarredButtonClick={(e) => this.handleStarredButtonClick(e)}
handleTrashedButtonClick={(e) => this.handleTrashedButtonClick(e)}
counterDelNote={data.trashedSet._set.size === 0 ? null : data.trashedSet._set.size}
/>
<StorageList storageList={storageList} />