瀏覽代碼

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?))
                          (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)