1
0
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:
Nuno Góis 2023-03-28 20:14:57 +01:00 committed by GitHub
parent 697e0bd5e4
commit 9e178de570
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -450,7 +450,7 @@ export const adminMenuRoutes: INavigationMenuItem[] = [
{ {
path: '/admin/logins', path: '/admin/logins',
title: 'Login history', title: 'Login history',
menu: { adminSettings: true }, menu: { adminSettings: true, mode: ['enterprise'] },
flag: 'loginHistory', flag: 'loginHistory',
}, },
{ {
@ -468,7 +468,7 @@ export const adminMenuRoutes: INavigationMenuItem[] = [
path: '/admin/roles', path: '/admin/roles',
title: 'Project roles', title: 'Project roles',
flag: RE, flag: RE,
menu: { adminSettings: true }, menu: { adminSettings: true, mode: ['enterprise'] },
}, },
{ {
path: '/admin/auth', path: '/admin/auth',