fix: restart sync when a graph is added

This commit is contained in:
Tienson Qin
2022-09-15 16:37:06 +08:00
committed by Andelf
parent 00dcf5980c
commit d08eed503f

View File

@@ -106,7 +106,7 @@
(route-handler/redirect! {:to :import :query-params {:from "picker"}})
(route-handler/redirect-to-home!)))
(repo-handler/refresh-repos!)
(file-sync-stop!))
(file-sync-restart!))
(defn- graph-switch
([graph]