]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-23577 Hide dependencies tab (#12242)
authorLucas <97296331+lucas-paulger-sonarsource@users.noreply.github.com>
Tue, 12 Nov 2024 09:09:54 +0000 (11:09 +0200)
committersonartech <sonartech@sonarsource.com>
Tue, 12 Nov 2024 20:02:48 +0000 (20:02 +0000)
server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx

index 8b425e648b572c89f91f312058fccc5b719c508d..2f8592dd1095f07e73fbfba63683e28d8203b4be 100644 (file)
@@ -209,8 +209,10 @@ export function Menu(props: Readonly<Props>) {
   };
 
   const renderDependenciesLink = () => {
+    const isEnabled = false; // SONAR-23577 Temporarily hide dependencies page
     const isPortfolio = isPortfolioLike(qualifier);
     return (
+      isEnabled &&
       !isPortfolio &&
       renderMenuLink({
         label: translate('layout.dependencies'),