mirror of
https://github.com/penpot/penpot.git
synced 2026-09-18 18:06:14 +00:00
🐛 Fix nitrate go to control center
This commit is contained in:
parent
5c761125f3
commit
d91ce0f9d1
@ -27,11 +27,13 @@
|
|||||||
([]
|
([]
|
||||||
(st/emit! (rt/nav-raw :href "/control-center/")))
|
(st/emit! (rt/nav-raw :href "/control-center/")))
|
||||||
([{:keys [organization-id organization-slug]}]
|
([{:keys [organization-id organization-slug]}]
|
||||||
(let [href (dm/str "/control-center/org/"
|
(if (and organization-id organization-slug)
|
||||||
(u/percent-encode organization-slug)
|
(let [href (dm/str "/control-center/org/"
|
||||||
"/"
|
(u/percent-encode organization-slug)
|
||||||
(u/percent-encode (str organization-id)))]
|
"/"
|
||||||
(st/emit! (rt/nav-raw :href href)))))
|
(u/percent-encode (str organization-id)))]
|
||||||
|
(st/emit! (rt/nav-raw :href href)))
|
||||||
|
(st/emit! (rt/nav-raw :href "/control-center/")))))
|
||||||
|
|
||||||
(defn go-to-nitrate-cc-create-org
|
(defn go-to-nitrate-cc-create-org
|
||||||
[]
|
[]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user