From: Lucas <97296331+lucas-paulger-sonarsource@users.noreply.github.com> Date: Tue, 12 Nov 2024 09:09:54 +0000 (+0200) Subject: SONAR-23577 Hide dependencies tab (#12242) X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=facd43702f91bcf9444ce9ac883e56ad9cc25ced;p=sonarqube.git SONAR-23577 Hide dependencies tab (#12242) --- 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 8b425e648b5..2f8592dd109 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 @@ -209,8 +209,10 @@ export function Menu(props: Readonly) { }; const renderDependenciesLink = () => { + const isEnabled = false; // SONAR-23577 Temporarily hide dependencies page const isPortfolio = isPortfolioLike(qualifier); return ( + isEnabled && !isPortfolio && renderMenuLink({ label: translate('layout.dependencies'),