mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 19:06:21 +00:00
fix: unlink wrong graphs
This commit is contained in:
@@ -116,9 +116,9 @@
|
||||
(repo-handler/refresh-repos!)
|
||||
(file-sync-restart!))
|
||||
|
||||
(defmethod handle :graph/unlinked [_]
|
||||
(repo-handler/refresh-repos!)
|
||||
(file-sync-restart!))
|
||||
(defmethod handle :graph/unlinked [repo current-repo]
|
||||
(when (= (:url repo) current-repo)
|
||||
(file-sync-restart!)))
|
||||
|
||||
(defmethod handle :graph/refresh [_]
|
||||
(repo-handler/refresh-repos!))
|
||||
|
||||
Reference in New Issue
Block a user