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

pull/6015/head
Andelf 2022-07-12 10:11:31 +08:00
parent 53c0e79483
commit 97de299b04
1 changed files with 1 additions and 0 deletions

View File

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