mirror of
https://github.com/penpot/penpot.git
synced 2026-08-28 23:59:00 +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
|
;; Navigate to active org if user owns it, otherwise to last visited org
|
||||||
(if (and (:id organization)
|
(if (and (:id organization)
|
||||||
(= (:id profile) (:owner-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))))
|
(dnt/go-to-nitrate-ac))))
|
||||||
|
|
||||||
empty-org (d/seek #(nil? (:id %)) organizations)
|
empty-org (d/seek #(nil? (:id %)) organizations)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user