Load account portal url from environment
This commit is contained in:
parent
1fc24e12e7
commit
61fcb67289
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue