mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Spaced repetition interface supports review by document selection https://github.com/siyuan-note/siyuan/issues/7954
This commit is contained in:
@@ -147,7 +147,7 @@ func SearchDocsByKeyword(keyword string, flashcard bool) (ret []map[string]strin
|
||||
var deckBlockIDs []string
|
||||
if flashcard {
|
||||
deck := Decks[builtinDeckID]
|
||||
if nil != deck {
|
||||
if nil == deck {
|
||||
return
|
||||
}
|
||||
deckBlockIDs = deck.GetBlockIDs()
|
||||
@@ -232,7 +232,7 @@ func ListDocTree(boxID, path string, sortMode int, flashcard bool, maxListCount
|
||||
var deckBlockIDs []string
|
||||
if flashcard {
|
||||
deck := Decks[builtinDeckID]
|
||||
if nil != deck {
|
||||
if nil == deck {
|
||||
return
|
||||
}
|
||||
deckBlockIDs = deck.GetBlockIDs()
|
||||
|
||||
Reference in New Issue
Block a user