1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

Desktop: Add new setting to show note counts for folders and tags (#2006)

* Adding node counts for folders and tags

* Add unit tests

* Fix count update when the tag list for a note is updated

* Right align note counts and remove from the settings screen

* Folder note count calculation update to include descendants

* Update Setting.js

* Change count style and fix click on counts

* Fix tag/folder count update on delete/add note

* Review updates
This commit is contained in:
Diego Erdody
2019-11-10 22:14:56 -08:00
committed by Laurent Cozic
parent c0dd8d0332
commit 9c98fb5312
11 changed files with 139 additions and 14 deletions

View File

@@ -25,6 +25,10 @@ class FoldersScreenUtils {
folders = await Folder.orderByLastModified(folders, orderDir);
}
if (Setting.value('showNoteCounts')) {
await Folder.addNoteCounts(folders);
}
return folders;
}