mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-02 06:48:49 +01:00
🎨 Flashcard new/review card limit support configure to 0 Fix https://github.com/siyuan-note/siyuan/issues/7841
This commit is contained in:
parent
8a2a724341
commit
307eab1b35
3 changed files with 10 additions and 10 deletions
|
|
@ -321,10 +321,10 @@ func InitConf() {
|
|||
if nil == Conf.Flashcard {
|
||||
Conf.Flashcard = conf.NewFlashcard()
|
||||
}
|
||||
if 1 > Conf.Flashcard.NewCardLimit {
|
||||
if 0 > Conf.Flashcard.NewCardLimit {
|
||||
Conf.Flashcard.NewCardLimit = 20
|
||||
}
|
||||
if 1 > Conf.Flashcard.ReviewCardLimit {
|
||||
if 0 > Conf.Flashcard.ReviewCardLimit {
|
||||
Conf.Flashcard.ReviewCardLimit = 200
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue