mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
fix(editor): clear sync state when switch-graph
This commit is contained in:
@@ -179,7 +179,7 @@
|
||||
(repo-handler/broadcast-persist-db! graph))))
|
||||
(repo-handler/restore-and-setup-repo! graph)
|
||||
(graph-switch graph)
|
||||
state/set-state! :sync-graph/init? false)))
|
||||
(state/set-state! :sync-graph/init? false))))
|
||||
|
||||
(defmethod handle :graph/switch [[_ graph opts]]
|
||||
(let [opts (if (false? (:persist? opts)) opts (assoc opts :persist? true))]
|
||||
|
||||
Reference in New Issue
Block a user