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)
|
||||
)
|
||||
$: automationErrors = getAutomationErrors(enrichedApps)
|
||||
$: isOwner = $auth.accountPortalAccess && $admin.cloud
|
||||
|
||||
const usersLimitLockAction = $licensing?.errUserLimit
|
||||
? () => accountLockedModal.show()
|
||||
|
@ -313,7 +314,10 @@
|
|||
</Modal>
|
||||
|
||||
<AppLimitModal bind:this={appLimitModal} />
|
||||
<AccountLockedModal bind:this={accountLockedModal} />
|
||||
<AccountLockedModal bind:this={accountLockedModal} onConfirm={() =>
|
||||
isOwner
|
||||
? $licensing.goToUpgradePage()
|
||||
: window.open("https://budibase.com/pricing/", "_blank")} />
|
||||
|
||||
<style>
|
||||
.title {
|
||||
|
|
Loading…
Reference in a new issue