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

Merge pull request #1052 from PaulRosset/trash-counter-notes

Add counter on deleted notes
This commit is contained in:
Kazz Yokomizo
2017-11-09 15:33:36 +09:00
committed by GitHub
3 changed files with 11 additions and 1 deletions

View File

@@ -72,6 +72,9 @@ class SideNav extends React.Component {
isTrashedActive={isTrashedActive}
handleStarredButtonClick={(e) => this.handleStarredButtonClick(e)}
handleTrashedButtonClick={(e) => this.handleTrashedButtonClick(e)}
counterTotalNote={data.noteMap._map.size}
counterStarredNote={data.starredSet._set.size}
counterDelNote={data.trashedSet._set.size}
/>
<StorageList storageList={storageList} />