chore: disable flashcard now, enable when ui adjusted

This commit is contained in:
rcmerci
2024-09-23 17:04:58 +08:00
parent 8a3ca446b0
commit 4788b05d10

View File

@@ -371,7 +371,8 @@
:icon-extension? true
:shortcut :go/whiteboards})))
(when (state/enable-flashcards? (state/get-current-repo))
(when (and (state/enable-flashcards? (state/get-current-repo))
(not db-based?))
[:div.flashcards-nav
(flashcards srs-open?)])