Move upgrade page check into self hosted block

This commit is contained in:
Rory Powell 2022-04-20 10:07:36 +01:00
parent b21ba78cf2
commit ed30e10f86
1 changed files with 6 additions and 6 deletions

View File

@ -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([