Преглед изворни кода

fix(cards): update card count at 5s interval

Andelf пре 3 година
родитељ
комит
97de299b04
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/main/frontend/handler.cljs

+ 1 - 0
src/main/frontend/handler.cljs

@@ -56,6 +56,7 @@
               (when (and (not (state/nfs-refreshing?))
               (when (and (not (state/nfs-refreshing?))
                          (not (contains? (:file/unlinked-dirs @state/state)
                          (not (contains? (:file/unlinked-dirs @state/state)
                                          (config/get-repo-dir repo))))
                                          (config/get-repo-dir repo))))
+                (srs/update-cards-due-count!)
                 ;; Don't create the journal file until user writes something
                 ;; Don't create the journal file until user writes something
                 (page-handler/create-today-journal!))))]
                 (page-handler/create-today-journal!))))]
     (f)
     (f)