mirror of
https://github.com/status-im/open-bounty.git
synced 2025-02-26 08:05:28 +00:00
Do not render manage page when not logged in
This commit is contained in:
parent
993b2a5064
commit
e29dc1ae8a
@ -145,8 +145,11 @@
|
||||
|
||||
(secretary/defroute "/" []
|
||||
(rf/dispatch [:set-active-page :issues]))
|
||||
|
||||
(secretary/defroute "/manage" []
|
||||
(rf/dispatch [:set-active-page :manage]))
|
||||
(if js/user
|
||||
(rf/dispatch [:set-active-page :manage])
|
||||
(secretary/dispatch! "/")))
|
||||
|
||||
;; -------------------------
|
||||
;; History
|
||||
|
Loading…
x
Reference in New Issue
Block a user