]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8979 do not display settings page for portfolios
authorStas Vilchik <stas.vilchik@sonarsource.com>
Tue, 29 Aug 2017 14:29:07 +0000 (16:29 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 29 Aug 2017 15:52:09 +0000 (17:52 +0200)
server/sonar-web/src/main/js/app/components/nav/component/ComponentNavMenu.js

index 5e3038d65f59adcb652925ebe36035cf0a06f654..dfbd7899d6e4afb6b5635c984189e1d4d778f08d 100644 (file)
@@ -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 (