1
0
Fork 0
mirror of synced 2024-06-29 19:41:03 +12:00

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

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([
{