From ed30e10f86c1a6773fa57bb05d409f11f7ac4118 Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Wed, 20 Apr 2022 10:07:36 +0100 Subject: [PATCH] Move upgrade page check into self hosted block --- .../builder/src/pages/builder/portal/_layout.svelte | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/builder/src/pages/builder/portal/_layout.svelte b/packages/builder/src/pages/builder/portal/_layout.svelte index 495319a25e..39a5def7d6 100644 --- a/packages/builder/src/pages/builder/portal/_layout.svelte +++ b/packages/builder/src/pages/builder/portal/_layout.svelte @@ -59,13 +59,13 @@ href: "/builder/portal/settings/update", }, ]) - } - if (isEnabled(FEATURE_FLAGS.LICENSING)) { - menu = menu.concat({ - title: "Upgrade", - href: "/builder/portal/settings/upgrade", - }) + if (isEnabled(FEATURE_FLAGS.LICENSING)) { + menu = menu.concat({ + title: "Upgrade", + href: "/builder/portal/settings/upgrade", + }) + } } } else { menu = menu.concat([