1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01: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],
"flag": "featureSearchFrontend",
"menu": {
"mobile": true,
},
"menu": {},
"path": "/features-new",
"title": "Feature toggles",
"type": "protected",

View File

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