From 3bf1fff4825f4dfcb7ba9bab8272a188ceda45a8 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Tue, 29 Aug 2017 16:29:07 +0200 Subject: [PATCH] SONAR-8979 do not display settings page for portfolios --- .../main/js/app/components/nav/component/ComponentNavMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/app/components/nav/component/ComponentNavMenu.js b/server/sonar-web/src/main/js/app/components/nav/component/ComponentNavMenu.js index 5e3038d65f5..dfbd7899d6e 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/ComponentNavMenu.js +++ b/server/sonar-web/src/main/js/app/components/nav/component/ComponentNavMenu.js @@ -173,7 +173,7 @@ export default class ComponentNavMenu extends React.PureComponent { } renderSettingsLink() { - if (!this.props.conf.showSettings || this.isApplication()) { + if (!this.props.conf.showSettings || this.isApplication() || this.isView()) { return null; } return ( -- 2.39.5