From: Julien Lancelot Date: Fri, 9 Sep 2016 09:38:58 +0000 (+0200) Subject: Fix quality flaws X-Git-Tag: 6.1-RC1~153 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=32b97abea9d5ce57134d145f298ca1a79f8c6873;p=sonarqube.git Fix quality flaws --- diff --git a/server/sonar-web/src/main/js/main/nav/global/global-nav-menu.js b/server/sonar-web/src/main/js/main/nav/global/global-nav-menu.js index 05aadf80412..cb6e50f9dd9 100644 --- a/server/sonar-web/src/main/js/main/nav/global/global-nav-menu.js +++ b/server/sonar-web/src/main/js/main/nav/global/global-nav-menu.js @@ -133,7 +133,7 @@ export default React.createClass({ }, renderMore () { - if (this.props.globalPages.length == 0) { + if (this.props.globalPages.length === 0) { return null; } const globalPages = this.props.globalPages.map(this.renderGlobalPageLink);