fix(sync): wrong graph-dir name

pull/8914/head
Andelf 2023-03-22 00:33:31 +08:00
parent c061c0bd87
commit a555dac245
1 changed files with 3 additions and 3 deletions

View File

@ -184,13 +184,13 @@
(defn init-remote-graph
[local graph]
(when (and local graph)
[local-graph-dir graph]
(when (and local-graph-dir graph)
(notification/show!
(str "Start syncing the remote graph "
(:GraphName graph)
" to "
(config/get-string-repo-dir (config/get-local-dir local)))
(config/get-string-repo-dir local-graph-dir))
:success)
(init-graph (:GraphUUID graph))
(state/close-modal!)))