Browse Source

show refresh button when user enabled sync

Tienson Qin 2 years ago
parent
commit
79be67e7b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/components/repo.cljs

+ 1 - 1
src/main/frontend/components/repo.cljs

@@ -118,7 +118,7 @@
                (t :open-a-directory)
                :on-click #(state/pub-event! [:graph/setup-a-repo]))])]]
 
-        (when (seq remote-graphs)
+        (when (file-sync/enable-sync?)
           [:div
            [:hr]
            [:div.flex.align-items.justify-between