From e5c865b716ddc97615480e8b5afc3daddbb9f557 Mon Sep 17 00:00:00 2001 From: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com> Date: Fri, 8 Dec 2023 13:53:10 +0100 Subject: [PATCH] fix: menu routes for new features page - mobile option (#5566) Remove duplicated option in the menu. --- .../menu/__tests__/__snapshots__/routes.test.tsx.snap | 4 +--- frontend/src/component/menu/routes.ts | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/src/component/menu/__tests__/__snapshots__/routes.test.tsx.snap b/frontend/src/component/menu/__tests__/__snapshots__/routes.test.tsx.snap index b044e6e477..e22b08f7cd 100644 --- a/frontend/src/component/menu/__tests__/__snapshots__/routes.test.tsx.snap +++ b/frontend/src/component/menu/__tests__/__snapshots__/routes.test.tsx.snap @@ -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", diff --git a/frontend/src/component/menu/routes.ts b/frontend/src/component/menu/routes.ts index a643714226..c26e343c02 100644 --- a/frontend/src/component/menu/routes.ts +++ b/frontend/src/component/menu/routes.ts @@ -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', },