Load account portal url from environment

This commit is contained in:
Rory Powell 2021-10-01 16:12:07 +01:00
parent 1fc24e12e7
commit 61fcb67289
1 changed files with 2 additions and 1 deletions

View File

@ -1,10 +1,11 @@
<script> <script>
import { Modal, ModalContent, Button } from "@budibase/bbui" import { Modal, ModalContent, Button } from "@budibase/bbui"
import { admin } from "stores/portal"
let upgradeModal let upgradeModal
const onConfirm = () => { const onConfirm = () => {
window.open("https://account.budibase.app/portal/install", "_blank") window.open(`${$admin.accountPortalUrl}/portal/install`, "_blank")
} }
</script> </script>