From 8729fa27ac5333c19603f2f9126cac94cf993859 Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Fri, 1 Oct 2021 16:05:48 +0100 Subject: [PATCH 1/2] Hide upgrade button / modal from non-root account holders --- .../builder/src/pages/builder/app/[application]/_layout.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/pages/builder/app/[application]/_layout.svelte b/packages/builder/src/pages/builder/app/[application]/_layout.svelte index ae21a9dbb9..aaf948883d 100644 --- a/packages/builder/src/pages/builder/app/[application]/_layout.svelte +++ b/packages/builder/src/pages/builder/app/[application]/_layout.svelte @@ -92,7 +92,7 @@
- {#if $admin.cloud} + {#if $admin.cloud && $auth.user.account} {/if} From 47b80b7f2ad58cc073fb9becf6b169de4cbab98d Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Fri, 1 Oct 2021 16:12:07 +0100 Subject: [PATCH 2/2] Load account portal url from environment --- packages/builder/src/components/upgrade/UpgradeModal.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/builder/src/components/upgrade/UpgradeModal.svelte b/packages/builder/src/components/upgrade/UpgradeModal.svelte index 570dcc06a1..f78b7abdea 100644 --- a/packages/builder/src/components/upgrade/UpgradeModal.svelte +++ b/packages/builder/src/components/upgrade/UpgradeModal.svelte @@ -1,10 +1,11 @@