From adecf1897ab4bbf0b4a42e02c4186f8e1820b873 Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Thu, 12 Aug 2021 12:09:53 +0100 Subject: [PATCH] Add link to account portal --- .../src/components/upgrade/UpgradeModal.svelte | 11 ++++++++++- packages/worker/src/api/controllers/system/flags.js | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/packages/builder/src/components/upgrade/UpgradeModal.svelte b/packages/builder/src/components/upgrade/UpgradeModal.svelte index d87d361d59..783eb84064 100644 --- a/packages/builder/src/components/upgrade/UpgradeModal.svelte +++ b/packages/builder/src/components/upgrade/UpgradeModal.svelte @@ -2,6 +2,10 @@ import { Modal, ModalContent, Button } from "@budibase/bbui" let upgradeModal + + const onConfirm = () => { + window.open("https://accounts.budibase.com/install", "_blank") + }
@@ -14,7 +18,12 @@ >
- + Upgrade to Budibase self-hosting for free, and get SSO, unlimited apps, and more - and it only takes 10 minutes! { ctx.body = { multiTenancy: !!env.MULTI_TENANCY, - sandbox: !!env.SANDBOX + sandbox: !!env.SANDBOX, } }