Adding feature flag for portal usage access.

This commit is contained in:
mike12345567 2022-05-19 11:50:26 +01:00
parent 7437eb4513
commit 8ccc340a81
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([
{