diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-12-01 16:20:04 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-12-01 16:20:04 +0100 |
commit | ba7e2918528cba02496907a81d730079953c28ce (patch) | |
tree | d864bed9dd6c08d3b8c712350096386911aa69c7 /server | |
parent | 507540702541ac33118af0b0d3f2315caeb851b2 (diff) | |
download | sonarqube-ba7e2918528cba02496907a81d730079953c28ce.tar.gz sonarqube-ba7e2918528cba02496907a81d730079953c28ce.zip |
small fixes on the overview page
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/js/apps/overview/components/coverage-measures.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/components/coverage-measures.js b/server/sonar-web/src/main/js/apps/overview/components/coverage-measures.js index 63a0b5d5c78..0bade5394ed 100644 --- a/server/sonar-web/src/main/js/apps/overview/components/coverage-measures.js +++ b/server/sonar-web/src/main/js/apps/overview/components/coverage-measures.js @@ -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; } |