From: Stas Vilchik Date: Tue, 29 Aug 2017 14:29:07 +0000 (+0200) Subject: SONAR-8979 do not display settings page for portfolios X-Git-Tag: 6.6-RC1~517 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3bf1fff4825f4dfcb7ba9bab8272a188ceda45a8;p=sonarqube.git SONAR-8979 do not display settings page for portfolios --- 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 (