mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
fix: load global config synchronously instead of relying on watcher
This commit also refreshs the shortcuts when config files has been edited.
This commit is contained in:
@@ -527,6 +527,9 @@
|
||||
(defmethod handle :rebuild-slash-commands-list [[_]]
|
||||
(page-handler/rebuild-slash-commands-list!))
|
||||
|
||||
(defmethod handle :shortcut/refresh [[_]]
|
||||
(st/refresh!))
|
||||
|
||||
(defn- refresh-cb []
|
||||
(page-handler/create-today-journal!)
|
||||
(st/refresh!)
|
||||
|
||||
Reference in New Issue
Block a user