mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-31 05:48:49 +01:00
🎨 Spaced repetition interface supports review by document selection https://github.com/siyuan-note/siyuan/issues/7954
This commit is contained in:
parent
4529221ab2
commit
862d0db037
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue