aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/source-viewer/templates/source-viewer-measures.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/source-viewer/templates/source-viewer-measures.hbs')
-rw-r--r--server/sonar-web/src/main/js/components/source-viewer/templates/source-viewer-measures.hbs4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/components/source-viewer/templates/source-viewer-measures.hbs b/server/sonar-web/src/main/js/components/source-viewer/templates/source-viewer-measures.hbs
index a9dff3243e6..272abb83209 100644
--- a/server/sonar-web/src/main/js/components/source-viewer/templates/source-viewer-measures.hbs
+++ b/server/sonar-web/src/main/js/components/source-viewer/templates/source-viewer-measures.hbs
@@ -31,13 +31,13 @@
{{> 'measures/_source-viewer-measures-issues'}}
</div>
- {{#any measures.coverage measures.it_coverage}}
+ {{#if measures.coverage}}
<div class="source-viewer-measures-section">
<div class="source-viewer-measures-card">
{{> 'measures/_source-viewer-measures-coverage'}}
</div>
</div>
- {{/any}}
+ {{/if}}
<div class="source-viewer-measures-section">
{{> 'measures/_source-viewer-measures-duplications'}}