mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +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",
 | 
					    "title": "Users",
 | 
				
			||||||
    "type": "protected",
 | 
					    "type": "protected",
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  Object {
 | 
					 | 
				
			||||||
    "component": [Function],
 | 
					 | 
				
			||||||
    "menu": Object {
 | 
					 | 
				
			||||||
      "adminSettings": true,
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "parent": "/admin",
 | 
					 | 
				
			||||||
    "path": "/admin/auth",
 | 
					 | 
				
			||||||
    "title": "Single Sign-On",
 | 
					 | 
				
			||||||
    "type": "protected",
 | 
					 | 
				
			||||||
  },
 | 
					 | 
				
			||||||
  Object {
 | 
					  Object {
 | 
				
			||||||
    "component": [Function],
 | 
					    "component": [Function],
 | 
				
			||||||
    "flag": "RE",
 | 
					    "flag": "RE",
 | 
				
			||||||
@ -415,6 +405,16 @@ Array [
 | 
				
			|||||||
    "title": "Project Roles",
 | 
					    "title": "Project Roles",
 | 
				
			||||||
    "type": "protected",
 | 
					    "type": "protected",
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					  Object {
 | 
				
			||||||
 | 
					    "component": [Function],
 | 
				
			||||||
 | 
					    "menu": Object {
 | 
				
			||||||
 | 
					      "adminSettings": true,
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "parent": "/admin",
 | 
				
			||||||
 | 
					    "path": "/admin/auth",
 | 
				
			||||||
 | 
					    "title": "Single Sign-On",
 | 
				
			||||||
 | 
					    "type": "protected",
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
  Object {
 | 
					  Object {
 | 
				
			||||||
    "component": [Function],
 | 
					    "component": [Function],
 | 
				
			||||||
    "hidden": false,
 | 
					    "hidden": false,
 | 
				
			||||||
 | 
				
			|||||||
@ -444,6 +444,15 @@ export const routes: IRoute[] = [
 | 
				
			|||||||
        type: 'protected',
 | 
					        type: 'protected',
 | 
				
			||||||
        menu: {},
 | 
					        menu: {},
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        path: '/admin/roles',
 | 
				
			||||||
 | 
					        parent: '/admin',
 | 
				
			||||||
 | 
					        title: 'Project Roles',
 | 
				
			||||||
 | 
					        component: ProjectRoles,
 | 
				
			||||||
 | 
					        type: 'protected',
 | 
				
			||||||
 | 
					        flag: RE,
 | 
				
			||||||
 | 
					        menu: { adminSettings: true },
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        path: '/admin/auth',
 | 
					        path: '/admin/auth',
 | 
				
			||||||
        parent: '/admin',
 | 
					        parent: '/admin',
 | 
				
			||||||
@ -460,15 +469,6 @@ export const routes: IRoute[] = [
 | 
				
			|||||||
        type: 'protected',
 | 
					        type: 'protected',
 | 
				
			||||||
        menu: { adminSettings: true },
 | 
					        menu: { adminSettings: true },
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
        path: '/admin/roles',
 | 
					 | 
				
			||||||
        parent: '/admin',
 | 
					 | 
				
			||||||
        title: 'Project Roles',
 | 
					 | 
				
			||||||
        component: ProjectRoles,
 | 
					 | 
				
			||||||
        type: 'protected',
 | 
					 | 
				
			||||||
        flag: RE,
 | 
					 | 
				
			||||||
        menu: { adminSettings: true },
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        path: '/admin',
 | 
					        path: '/admin',
 | 
				
			||||||
        title: 'Admin',
 | 
					        title: 'Admin',
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user