From 32b97abea9d5ce57134d145f298ca1a79f8c6873 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Fri, 9 Sep 2016 11:38:58 +0200 Subject: [PATCH] Fix quality flaws --- server/sonar-web/src/main/js/main/nav/global/global-nav-menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5