Adding feature flag for portal usage access.

This commit is contained in:
mike12345567 2022-05-19 11:50:26 +01:00
parent 663f5aef7b
commit dd9fa80a4a
1 changed files with 8 additions and 4 deletions

View File

@ -36,11 +36,15 @@
title: "Apps",
href: "/builder/portal/apps",
},
{
title: "Usage",
href: "/builder/portal/settings/usage",
},
]
if (isEnabled(FEATURE_FLAGS.LICENSING)) {
menu = menu.concat([
{
title: "Usage",
href: "/builder/portal/settings/usage",
},
])
}
if (admin) {
menu = menu.concat([
{