mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
refactor: update today page check to use async block retrieval
This commit is contained in:
@@ -266,7 +266,7 @@
|
||||
(ui-handler/re-render-root!)
|
||||
(plugin-handler/hook-plugin-app :today-journal-created {:title today-page})
|
||||
result))]
|
||||
(when-not (db/get-page today-page)
|
||||
(when-not (db-async/<get-block repo today-page)
|
||||
(create-f)))))))
|
||||
|
||||
(defn open-today-in-sidebar
|
||||
|
||||
Reference in New Issue
Block a user