🎨 Show count in spaced repetition tree filter floating window https://github.com/siyuan-note/siyuan/issues/8202

This commit is contained in:
Liang Ding 2023-05-09 10:39:01 +08:00
parent 48fd525abb
commit 5abfec77b9
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -402,6 +402,7 @@ func GetTreeDueFlashcards(rootID string, reviewedCardIDs []string) (ret []*Flash
}
func getTreeSubTreeChildBlocks(rootID string) (treeBlockIDsMap map[string]bool, treeBlockIDs []string) {
treeBlockIDsMap = map[string]bool{}
root := treenode.GetBlockTree(rootID)
if nil == root {
return