Modify modal to open pricing plan
This commit is contained in:
parent
58878ac57c
commit
4d6669b6fe
1 changed files with 5 additions and 1 deletions
|
@ -50,6 +50,7 @@
|
||||||
: true)
|
: true)
|
||||||
)
|
)
|
||||||
$: automationErrors = getAutomationErrors(enrichedApps)
|
$: automationErrors = getAutomationErrors(enrichedApps)
|
||||||
|
$: isOwner = $auth.accountPortalAccess && $admin.cloud
|
||||||
|
|
||||||
const usersLimitLockAction = $licensing?.errUserLimit
|
const usersLimitLockAction = $licensing?.errUserLimit
|
||||||
? () => accountLockedModal.show()
|
? () => accountLockedModal.show()
|
||||||
|
@ -313,7 +314,10 @@
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|
||||||
<AppLimitModal bind:this={appLimitModal} />
|
<AppLimitModal bind:this={appLimitModal} />
|
||||||
<AccountLockedModal bind:this={accountLockedModal} />
|
<AccountLockedModal bind:this={accountLockedModal} onConfirm={() =>
|
||||||
|
isOwner
|
||||||
|
? $licensing.goToUpgradePage()
|
||||||
|
: window.open("https://budibase.com/pricing/", "_blank")} />
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.title {
|
.title {
|
||||||
|
|
Loading…
Reference in a new issue