fix(sync): avoid check connectivity for non-sync graph

Close #10169
This commit is contained in:
Andelf
2023-09-07 17:27:52 +08:00
parent f786b6495b
commit 70cb124e8b

View File

@@ -3365,8 +3365,7 @@
(= 200 (:status r2*))
(= "OK" (:body r2*)))]
(if ok?
(do (println :connectivity-testing-succ)
(notification/clear! :sync-connection-failed))
(notification/clear! :sync-connection-failed)
(notification/show! [:div
(t :file-sync/connectivity-testing-failed)
[:a {:href api-url} api-url]