1
0
Fork 0
mirror of synced 2024-06-28 02:50:50 +12:00

Add link to account portal

This commit is contained in:
Peter Clement 2021-08-12 12:09:53 +01:00
parent 66e593a6b3
commit adecf1897a
2 changed files with 11 additions and 2 deletions

View file

@ -2,6 +2,10 @@
import { Modal, ModalContent, Button } from "@budibase/bbui"
let upgradeModal
const onConfirm = () => {
window.open("https://accounts.budibase.com/install", "_blank")
}
</script>
<div>
@ -14,7 +18,12 @@
>
</div>
<Modal bind:this={upgradeModal}>
<ModalContent size="M" title="Upgrade to self-hosted" confirmText="Upgrade">
<ModalContent
size="M"
{onConfirm}
title="Upgrade to self-hosted"
confirmText="Upgrade"
>
<span
>Upgrade to Budibase self-hosting for free, and get SSO, unlimited apps,
and more - and it only takes 10 minutes!</span

View file

@ -3,6 +3,6 @@ const env = require("../../../environment")
exports.fetch = async ctx => {
ctx.body = {
multiTenancy: !!env.MULTI_TENANCY,
sandbox: !!env.SANDBOX
sandbox: !!env.SANDBOX,
}
}