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", title: "Apps",
href: "/builder/portal/apps", href: "/builder/portal/apps",
}, },
]
if (isEnabled(FEATURE_FLAGS.LICENSING)) {
menu = menu.concat([
{ {
title: "Usage", title: "Usage",
href: "/builder/portal/settings/usage", href: "/builder/portal/settings/usage",
}, },
] ])
}
if (admin) { if (admin) {
menu = menu.concat([ menu = menu.concat([
{ {