Merge commit
This commit is contained in:
parent
795d8a5875
commit
6836ca8573
|
@ -76,7 +76,16 @@ export const createLicensingStore = () => {
|
|||
await actions.setQuotaUsage()
|
||||
},
|
||||
setNavigation: () => {
|
||||
const upgradeUrl = `${get(admin).accountPortalUrl}/portal/upgrade`
|
||||
//"/builder/portal/account/upgrade"
|
||||
const adminStore = get(admin)
|
||||
const authStore = get(auth)
|
||||
|
||||
//Add cloud check here too???
|
||||
|
||||
const upgradeUrl = authStore?.user?.accountPortalAccess
|
||||
? `${adminStore.accountPortalUrl}/portal/upgrade`
|
||||
: "/builder/portal/account/upgrade"
|
||||
|
||||
const goToUpgradePage = () => {
|
||||
window.location.href = upgradeUrl
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue