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:
parent
a088866124
commit
21dadb75b9
@ -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,
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user