1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00

fix: improve header admin menu link order (#860)

This commit is contained in:
olav 2022-04-06 16:29:49 +02:00 committed by GitHub
parent a088866124
commit 21dadb75b9
2 changed files with 19 additions and 19 deletions

View File

@ -394,16 +394,6 @@ Array [
"title": "Users",
"type": "protected",
},
Object {
"component": [Function],
"menu": Object {
"adminSettings": true,
},
"parent": "/admin",
"path": "/admin/auth",
"title": "Single Sign-On",
"type": "protected",
},
Object {
"component": [Function],
"flag": "RE",
@ -415,6 +405,16 @@ Array [
"title": "Project Roles",
"type": "protected",
},
Object {
"component": [Function],
"menu": Object {
"adminSettings": true,
},
"parent": "/admin",
"path": "/admin/auth",
"title": "Single Sign-On",
"type": "protected",
},
Object {
"component": [Function],
"hidden": false,

View File

@ -444,6 +444,15 @@ export const routes: IRoute[] = [
type: 'protected',
menu: {},
},
{
path: '/admin/roles',
parent: '/admin',
title: 'Project Roles',
component: ProjectRoles,
type: 'protected',
flag: RE,
menu: { adminSettings: true },
},
{
path: '/admin/auth',
parent: '/admin',
@ -460,15 +469,6 @@ export const routes: IRoute[] = [
type: 'protected',
menu: { adminSettings: true },
},
{
path: '/admin/roles',
parent: '/admin',
title: 'Project Roles',
component: ProjectRoles,
type: 'protected',
flag: RE,
menu: { adminSettings: true },
},
{
path: '/admin',
title: 'Admin',