🐛 Fix navigate to admin console after subscription (#9848)

This commit is contained in:
Marina López 2026-05-25 13:06:52 +02:00 committed by GitHub
parent f3f697b4a2
commit 57d47f8e5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -79,6 +79,8 @@
(def go-to-subscription-url (u/join cf/public-uri "#/settings/subscriptions"))
(def go-to-ac-url "/admin-console/")
(defn go-to-nitrate-billing
[]
(let [href (dm/str "/admin-console/licenses/billing?callback=" (js/encodeURIComponent go-to-subscription-url))]

View File

@ -29,7 +29,7 @@
on-click
(mf/use-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
(mf/use-fn