Browse Source

enhance(ui): put login into app dots menu

charlie 1 year ago
parent
commit
75c8f1b51a
1 changed files with 1 additions and 4 deletions
  1. 1 4
      src/main/frontend/components/header.cljs

+ 1 - 4
src/main/frontend/components/header.cljs

@@ -136,10 +136,7 @@
                       :options {:on-click #(state/toggle-theme!)}
                       :options {:on-click #(state/toggle-theme!)}
                       :icon (ui/icon "bulb")})
                       :icon (ui/icon "bulb")})
 
 
-                   (when (and
-                           (or (util/electron?) (state/developer-mode?))
-                           (file-sync-handler/enable-sync?)
-                           (not login?))
+                   (when (not login?)
                      {:title (t :login)
                      {:title (t :login)
                       :options {:on-click #(state/pub-event! [:user/login])}
                       :options {:on-click #(state/pub-event! [:user/login])}
                       :icon (ui/icon "user")})
                       :icon (ui/icon "user")})