aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/components/help/GlobalHelp.js
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-12-13 13:44:12 +0100
committerStas Vilchik <stas.vilchik@sonarsource.com>2018-01-02 10:38:10 +0100
commit027514e6f94607fcd7df8e69e668fe32aeb2873e (patch)
treeb73db22c100713df85f1a790c4a772300b41a7f5 /server/sonar-web/src/main/js/app/components/help/GlobalHelp.js
parent492cd3de03d14aaf91b54e96531d77079c0db7f1 (diff)
downloadsonarqube-027514e6f94607fcd7df8e69e668fe32aeb2873e.tar.gz
sonarqube-027514e6f94607fcd7df8e69e668fe32aeb2873e.zip
SONAR-10182 Users should be able to choose their homepage
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/help/GlobalHelp.js')
-rw-r--r--server/sonar-web/src/main/js/app/components/help/GlobalHelp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/app/components/help/GlobalHelp.js b/server/sonar-web/src/main/js/app/components/help/GlobalHelp.js
index a4ec0a4c324..a20b7e80dd2 100644
--- a/server/sonar-web/src/main/js/app/components/help/GlobalHelp.js
+++ b/server/sonar-web/src/main/js/app/components/help/GlobalHelp.js
@@ -88,7 +88,7 @@ export default class GlobalHelp extends React.PureComponent {
renderMenu = () => (
<ul className="side-tabs-menu">
- {(this.props.currentUser.isLoggedIn
+ {(this.props.currentUser.isLoggedIn && !this.props.onSonarCloud
? ['shortcuts', 'tutorials', 'links']
: ['shortcuts', 'links']
).map(this.renderMenuItem)}