mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-17 01:17:29 +02:00
chore: add flags to control network route links from menu (#9667)
This commit is contained in:
parent
097c83edfb
commit
c21ed3ed5e
@ -136,18 +136,28 @@ export const adminRoutes: INavigationMenuItem[] = [
|
|||||||
title: 'Connected edges',
|
title: 'Connected edges',
|
||||||
menu: { adminSettings: true, mode: ['pro', 'enterprise'] },
|
menu: { adminSettings: true, mode: ['pro', 'enterprise'] },
|
||||||
group: 'network',
|
group: 'network',
|
||||||
|
flag: 'edgeObservability',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/admin/network/backend-connections',
|
path: '/admin/network/backend-connections',
|
||||||
title: 'Backend connections',
|
title: 'Backend connections',
|
||||||
menu: { adminSettings: true, mode: ['pro', 'enterprise'] },
|
menu: { adminSettings: true, mode: ['pro', 'enterprise'] },
|
||||||
group: 'network',
|
group: 'network',
|
||||||
|
flag: 'consumptionModel',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/admin/network/frontend-data-usage',
|
path: '/admin/network/frontend-data-usage',
|
||||||
title: 'Frontend data usage',
|
title: 'Frontend data usage',
|
||||||
menu: { adminSettings: true, mode: ['pro', 'enterprise'] },
|
menu: { adminSettings: true, mode: ['pro', 'enterprise'] },
|
||||||
group: 'network',
|
group: 'network',
|
||||||
|
flag: 'consumptionModel',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/admin/network/data-usage',
|
||||||
|
title: 'Data usage',
|
||||||
|
menu: { adminSettings: true, mode: ['pro', 'enterprise'] },
|
||||||
|
group: 'network',
|
||||||
|
notFlag: 'consumptionModel',
|
||||||
},
|
},
|
||||||
|
|
||||||
// Instance configuration
|
// Instance configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user