Load account portal url from environment

This commit is contained in:
Rory Powell 2021-10-01 16:12:07 +01:00
parent 8729fa27ac
commit 47b80b7f2a
1 changed files with 2 additions and 1 deletions

View File

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