]> source.dussan.org Git - sonarqube.git/commitdiff
small fixes on the overview page
authorStas Vilchik <vilchiks@gmail.com>
Tue, 1 Dec 2015 15:20:04 +0000 (16:20 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 1 Dec 2015 15:20:04 +0000 (16:20 +0100)
server/sonar-web/src/main/js/apps/overview/components/coverage-measures.js
sonar-core/src/main/resources/org/sonar/l10n/core.properties

index 63a0b5d5c7835df2a04ffaf79b4a9f0df193c64d..0bade5394ed3d7e2ca7003cf733eb62206ffbe19 100644 (file)
@@ -54,7 +54,7 @@ export const CoverageMeasures = React.createClass({
     const newCoverageMetricName = this.getNewCoverageMetricName();
     const newCoverage = this.getNewCoverageMeasure();
 
-    if (!this.props.leakPeriodDate) {
+    if (!this.props.leakPeriodDate || newCoverage == null) {
       return null;
     }
 
index 7ad87bab250a2bb63ae85b0d418d92dd6f0b7e41..cbacec307173a1daadf00d9ce6e683a6d60a2c85 100644 (file)
@@ -3138,7 +3138,7 @@ overview.gate.ERROR=Failed
 overview.gate.WARN=Warning
 overview.gate.OK=Passed
 
-overview.domain.debt=Technical Debt
+overview.domain.debt=Debt
 overview.domain.coverage=Coverage
 overview.domain.duplications=Duplications
 overview.domain.size=Size