mirror of
https://github.com/logseq/logseq.git
synced 2026-05-23 12:14:06 +00:00
fix: login button in publishing
This commit is contained in:
@@ -168,7 +168,7 @@
|
||||
:options {:on-click #(state/toggle-theme!)}
|
||||
:icon (ui/icon "bulb")})
|
||||
|
||||
(when-not login?
|
||||
(when-not (or config/publishing? login?)
|
||||
{:title (t :login)
|
||||
:options {:on-click #(state/pub-event! [:user/login])}
|
||||
:icon (ui/icon "user")})
|
||||
|
||||
Reference in New Issue
Block a user