fix(ui): incorrect login entry from the settings pane

This commit is contained in:
charlie
2023-03-28 12:09:44 +08:00
committed by Andelf
parent 7d92a3172e
commit 282040e4e9

View File

@@ -769,7 +769,7 @@
:icon "login"
:on-click (fn []
(state/close-settings!)
(js/window.open config/LOGIN-URL))})
(state/pub-event! [:user/login]))})
[:p.text-sm.opacity-50 (t :settings-page/login-prompt)]])])
(when-not web-platform?