Skip to content

Commit

Permalink
fix: update route modes (#3412)
Browse files Browse the repository at this point in the history
Follow up to #3409:
`Login history` and `Project roles` are also Enterprise features.
  • Loading branch information
nunogois committed Mar 28, 2023
1 parent 697e0bd commit 9e178de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/component/menu/routes.ts
Expand Up @@ -450,7 +450,7 @@ export const adminMenuRoutes: INavigationMenuItem[] = [
{
path: '/admin/logins',
title: 'Login history',
menu: { adminSettings: true },
menu: { adminSettings: true, mode: ['enterprise'] },
flag: 'loginHistory',
},
{
Expand All @@ -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',
Expand Down

0 comments on commit 9e178de

Please sign in to comment.