mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
fix: update route modes (#3412)
Follow up to https://github.com/Unleash/unleash/pull/3409: `Login history` and `Project roles` are also Enterprise features.
This commit is contained in:
parent
697e0bd5e4
commit
9e178de570
@ -450,7 +450,7 @@ export const adminMenuRoutes: INavigationMenuItem[] = [
|
||||
{
|
||||
path: '/admin/logins',
|
||||
title: 'Login history',
|
||||
menu: { adminSettings: true },
|
||||
menu: { adminSettings: true, mode: ['enterprise'] },
|
||||
flag: 'loginHistory',
|
||||
},
|
||||
{
|
||||
@ -468,7 +468,7 @@ export const adminMenuRoutes: INavigationMenuItem[] = [
|
||||
path: '/admin/roles',
|
||||
title: 'Project roles',
|
||||
flag: RE,
|
||||
menu: { adminSettings: true },
|
||||
menu: { adminSettings: true, mode: ['enterprise'] },
|
||||
},
|
||||
{
|
||||
path: '/admin/auth',
|
||||
|
Loading…
Reference in New Issue
Block a user