Move upgrade page check into self hosted block

This commit is contained in:
Rory Powell 2022-04-20 10:07:36 +01:00
parent 46965bbb44
commit c92e7120de
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([