mirror of https://github.com/logseq/logseq
fix: don't show the refresh button if there's no graphs added yet
parent
03ff1048bb
commit
717fdb5940
|
@ -211,7 +211,7 @@
|
|||
|
||||
(new-block-mode)
|
||||
|
||||
(when (mobile-util/is-native-platform?)
|
||||
(when (and (mobile-util/is-native-platform?) (seq repos))
|
||||
[:a.text-sm.font-medium.button
|
||||
{:on-click
|
||||
(fn []
|
||||
|
@ -227,9 +227,8 @@
|
|||
(if refreshing?
|
||||
[:div {:class "animate-spin-reverse"}
|
||||
svg/refresh]
|
||||
(when (seq repos)
|
||||
[:div.flex.flex-row.text-center.open-button__inner.items-center
|
||||
(ui/icon "refresh" {:style {:fontSize ui/icon-size}})]))])
|
||||
(ui/icon "refresh" {:style {:fontSize ui/icon-size}})])])
|
||||
|
||||
(repo/sync-status current-repo)
|
||||
|
||||
|
|
Loading…
Reference in New Issue