mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
fix: Insights placement in drawer nav (#6846)
Moves the Insights nav menu item down to match desktop ordering Closes # [1-2290](https://linear.app/unleash/issue/1-2290/mobile-menu-insights-pops-up-as-the-first-item) <img width="951" alt="Screenshot 2024-04-12 at 13 12 25" src="https://github.com/Unleash/unleash/assets/104830839/c4222912-2fb9-4d01-8c82-e3288738f52c"> --------- Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
parent
945e086f81
commit
34e917f0ee
@ -10,17 +10,6 @@ exports[`returns all baseRoutes 1`] = `
|
||||
"title": "Unleash",
|
||||
"type": "protected",
|
||||
},
|
||||
{
|
||||
"component": [Function],
|
||||
"enterprise": false,
|
||||
"flag": "executiveDashboardUI",
|
||||
"menu": {
|
||||
"mobile": true,
|
||||
},
|
||||
"path": "/insights",
|
||||
"title": "Insights",
|
||||
"type": "protected",
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"$$typeof": Symbol(react.lazy),
|
||||
@ -151,6 +140,17 @@ exports[`returns all baseRoutes 1`] = `
|
||||
"title": "Playground",
|
||||
"type": "protected",
|
||||
},
|
||||
{
|
||||
"component": [Function],
|
||||
"enterprise": false,
|
||||
"flag": "executiveDashboardUI",
|
||||
"menu": {
|
||||
"mobile": true,
|
||||
},
|
||||
"path": "/insights",
|
||||
"title": "Insights",
|
||||
"type": "protected",
|
||||
},
|
||||
{
|
||||
"component": [Function],
|
||||
"menu": {},
|
||||
|
@ -60,17 +60,6 @@ export const routes: IRoute[] = [
|
||||
isStandalone: true,
|
||||
},
|
||||
|
||||
// Insights - previously "Executive dashboard"
|
||||
{
|
||||
path: '/insights',
|
||||
title: 'Insights',
|
||||
component: Insights,
|
||||
type: 'protected',
|
||||
menu: { mobile: true },
|
||||
flag: 'executiveDashboardUI',
|
||||
enterprise: false,
|
||||
},
|
||||
|
||||
// Project
|
||||
{
|
||||
path: '/projects/create',
|
||||
@ -173,6 +162,17 @@ export const routes: IRoute[] = [
|
||||
menu: { mobile: true },
|
||||
},
|
||||
|
||||
// Insights
|
||||
{
|
||||
path: '/insights',
|
||||
title: 'Insights',
|
||||
component: Insights,
|
||||
type: 'protected',
|
||||
menu: { mobile: true },
|
||||
flag: 'executiveDashboardUI',
|
||||
enterprise: false,
|
||||
},
|
||||
|
||||
// Applications
|
||||
{
|
||||
path: '/applications/:name/*',
|
||||
|
Loading…
Reference in New Issue
Block a user