Add link to account portal
This commit is contained in:
parent
b2bc9a5e20
commit
48c40446f0
|
@ -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
|
||||
|
|
|
@ -3,6 +3,6 @@ const env = require("../../../environment")
|
|||
exports.fetch = async ctx => {
|
||||
ctx.body = {
|
||||
multiTenancy: !!env.MULTI_TENANCY,
|
||||
sandbox: !!env.SANDBOX
|
||||
sandbox: !!env.SANDBOX,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue