mirror of
https://github.com/penpot/penpot.git
synced 2026-09-07 04:29:31 +00:00
🐛 Fix navigate to admin console after subscription (#9848)
This commit is contained in:
parent
f3f697b4a2
commit
57d47f8e5e
@ -79,6 +79,8 @@
|
|||||||
|
|
||||||
(def go-to-subscription-url (u/join cf/public-uri "#/settings/subscriptions"))
|
(def go-to-subscription-url (u/join cf/public-uri "#/settings/subscriptions"))
|
||||||
|
|
||||||
|
(def go-to-ac-url "/admin-console/")
|
||||||
|
|
||||||
(defn go-to-nitrate-billing
|
(defn go-to-nitrate-billing
|
||||||
[]
|
[]
|
||||||
(let [href (dm/str "/admin-console/licenses/billing?callback=" (js/encodeURIComponent go-to-subscription-url))]
|
(let [href (dm/str "/admin-console/licenses/billing?callback=" (js/encodeURIComponent go-to-subscription-url))]
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
on-click
|
on-click
|
||||||
(mf/use-fn
|
(mf/use-fn
|
||||||
(fn []
|
(fn []
|
||||||
(dnt/go-to-buy-nitrate-license "monthly" dnt/go-to-subscription-url)))
|
(dnt/go-to-buy-nitrate-license "monthly" dnt/go-to-ac-url)))
|
||||||
|
|
||||||
on-activate-click
|
on-activate-click
|
||||||
(mf/use-fn
|
(mf/use-fn
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user