1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-03 01:18:43 +02:00

fix: menu routes for new features page - mobile option (#5566)

Remove duplicated option in the menu.
This commit is contained in:
Tymoteusz Czech 2023-12-08 13:53:10 +01:00 committed by GitHub
parent cd731cef03
commit e5c865b716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -126,9 +126,7 @@ exports[`returns all baseRoutes 1`] = `
{ {
"component": [Function], "component": [Function],
"flag": "featureSearchFrontend", "flag": "featureSearchFrontend",
"menu": { "menu": {},
"mobile": true,
},
"path": "/features-new", "path": "/features-new",
"title": "Feature toggles", "title": "Feature toggles",
"type": "protected", "type": "protected",

View File

@ -154,7 +154,7 @@ export const routes: IRoute[] = [
title: 'Feature toggles', title: 'Feature toggles',
component: FeatureToggleListTable, component: FeatureToggleListTable,
type: 'protected', type: 'protected',
menu: { mobile: true }, menu: {}, // TODO: Add mobile menu when removing `featureSearchFrontend` flag
flag: 'featureSearchFrontend', flag: 'featureSearchFrontend',
}, },