mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
🎨 闪卡支持设置复习上限 https://github.com/siyuan-note/siyuan/issues/7703
This commit is contained in:
parent
f1c55ff99b
commit
bd8e39cce0
1 changed files with 1 additions and 1 deletions
|
|
@ -918,7 +918,7 @@ func getDeckDueCards(deck *riff.Deck, reviewedCardIDs []string) (ret []riff.Card
|
|||
}
|
||||
}
|
||||
|
||||
if !gulu.Str.Contains(c.ID(), reviewedCardIDs) {
|
||||
if 0 < len(reviewedCardIDs) && !gulu.Str.Contains(c.ID(), reviewedCardIDs) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue