Adding feature flag for portal usage access.
This commit is contained in:
parent
663f5aef7b
commit
dd9fa80a4a
|
@ -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([
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue