Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

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

Liang Ding97c4e84bc46f
diff --git a/kernel/model/file.go b/kernel/model/file.go
index b6025e63e1..aa08126c19 100644
--- a/kernel/model/file.go
+++ b/kernel/model/file.go
@@ -242,7 +242,7 @@ func ListDocTree(boxID, path string, sortMode int, flashcard bool, maxListCount
var deck *riff.Deck
var deckBlockIDs []string
if flashcard {
- deck := Decks[builtinDeckID]
+ deck = Decks[builtinDeckID]
if nil == deck {
return
}