Browse Source

chore: disable flashcard now, enable when ui adjusted

rcmerci 1 year ago
parent
commit
4788b05d10
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/frontend/components/container.cljs

+ 2 - 1
src/main/frontend/components/container.cljs

@@ -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?)])