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

This commit is contained in:
Daniel 2023-11-17 00:04:15 +08:00
parent c4174ea191
commit f78c5ab3c8
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -52,6 +52,9 @@ func ResetFlashcards(typ, id, deckID string, blockIDs []string) {
break
}
}
if "" == deckID {
continue
}
resetFlashcards(deckID, blockIDs)
}
return