aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/cloud/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/cloud/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/cloud/index.html.erb
index d69666a4e54..2ce1a913233 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/cloud/index.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/cloud/index.html.erb
@@ -23,7 +23,7 @@
<li class="first">
<span class="note">Color:</span>
<select name="color" onchange="document.forms['cloudform'].submit()">
- <% if @snapshot.measure(@color_metric) %>
+ <% if @snapshot.measure('coverage') %>
<option value="coverage" <%= 'selected' if @color_metric.key=='coverage' -%>>Coverage</option>
<% end %>
<option value="violations_density" <%= 'selected' if @color_metric.key=='violations_density' -%>>Rules compliance</option>