Browse Source

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

Andelf 3 years ago
parent
commit
97de299b04
1 changed files with 1 additions and 0 deletions
  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?))
                          (not (contains? (:file/unlinked-dirs @state/state)
                                          (config/get-repo-dir repo))))
+                (srs/update-cards-due-count!)
                 ;; Don't create the journal file until user writes something
                 (page-handler/create-today-journal!))))]
     (f)