From 78e32ab508f05e3cced481d7d7eafb0fc9796362 Mon Sep 17 00:00:00 2001 From: Mathieu Suen Date: Thu, 22 Jun 2023 10:35:00 +0200 Subject: [PATCH] SONAR-19613 Change project information menu style --- .../main/js/app/components/nav/component/Menu.tsx | 13 ++++--------- .../src/main/js/apps/projectInformation/routes.tsx | 2 +- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx b/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx index bab7b4e3e5d..a3a7111bc8f 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx @@ -21,7 +21,6 @@ import { DisabledTabLink, Dropdown, ItemNavLink, - Link, NavBarTabLink, NavBarTabs, PopupZLevel, @@ -354,14 +353,10 @@ export class Menu extends React.PureComponent { return ( (isProject || isApplication) && ( -
  • - (this.projectInfoLink = node)} - to={{ pathname: '/project/info', search: new URLSearchParams(query).toString() }} - > - {label} - -
  • + ) ); }; diff --git a/server/sonar-web/src/main/js/apps/projectInformation/routes.tsx b/server/sonar-web/src/main/js/apps/projectInformation/routes.tsx index 669de902ac8..8d8cecd0a90 100644 --- a/server/sonar-web/src/main/js/apps/projectInformation/routes.tsx +++ b/server/sonar-web/src/main/js/apps/projectInformation/routes.tsx @@ -21,6 +21,6 @@ import React from 'react'; import { Route } from 'react-router-dom'; import ProjectInformationApp from './ProjectInformationApp'; -const routes = () => } />; +const routes = () => } />; export default routes; -- 2.39.5