From 259606e995563053311fe1dc08a93cbbb149f112 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 16 Nov 2023 23:48:31 +0800 Subject: [PATCH] :art: Support resetting the learning progress of flashcards https://github.com/siyuan-note/siyuan/issues/9564 --- kernel/model/flashcard.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/flashcard.go b/kernel/model/flashcard.go index 21b377a6d..7e6b695f2 100644 --- a/kernel/model/flashcard.go +++ b/kernel/model/flashcard.go @@ -43,7 +43,7 @@ func ResetFlashcards(typ, id, deckID string, blockIDs []string) { // Support resetting the learning progress of flashcards https://github.com/siyuan-note/siyuan/issues/9564 if 0 < len(blockIDs) { - resetFlashcards(id, blockIDs) + resetFlashcards(deckID, blockIDs) return }