aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/overview/gate/gate.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/overview/gate/gate.js')
-rw-r--r--server/sonar-web/src/main/js/apps/overview/gate/gate.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/gate/gate.js b/server/sonar-web/src/main/js/apps/overview/gate/gate.js
index 05ebfda1892..3f78fe08dba 100644
--- a/server/sonar-web/src/main/js/apps/overview/gate/gate.js
+++ b/server/sonar-web/src/main/js/apps/overview/gate/gate.js
@@ -26,9 +26,9 @@ export default React.createClass({
return this.props.component.qualifier === 'TRK' ? <GateEmpty/> : null;
}
- let level = this.props.gate.level.toLowerCase(),
- badgeClassName = 'badge badge-' + level,
- badgeText = window.t('overview.gate', this.props.gate.level);
+ let level = this.props.gate.level.toLowerCase();
+ let badgeClassName = 'badge badge-' + level;
+ let badgeText = window.t('overview.gate', this.props.gate.level);
return (
<div className="overview-gate">