mirror of
https://github.com/penpot/penpot.git
synced 2026-05-27 02:43:42 +00:00
🐛 Fix navigation to admin console
This commit is contained in:
parent
1688741c21
commit
3527ffdc4d
@ -325,7 +325,8 @@
|
||||
;; Navigate to active org if user owns it, otherwise to last visited org
|
||||
(if (and (:id organization)
|
||||
(= (:id profile) (:owner-id organization)))
|
||||
(dnt/go-to-nitrate-ac organization)
|
||||
(dnt/go-to-nitrate-ac {:organization-id (:id organization)
|
||||
:organization-slug (:slug organization)})
|
||||
(dnt/go-to-nitrate-ac))))
|
||||
|
||||
empty-org (d/seek #(nil? (:id %)) organizations)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user