🎨 Support resetting the learning progress of flashcards https://github.com/siyuan-note/siyuan/issues/9564

This commit is contained in:
Daniel 2023-11-16 23:48:31 +08:00
parent bbeb6282d6
commit 259606e995
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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
}