diff options
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/app/views/overview/index.html.erb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/overview/index.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/overview/index.html.erb index a95cbea8ce5..c811c602121 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/overview/index.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/overview/index.html.erb @@ -123,7 +123,11 @@ <% if @snapshot %> // issues + <% if @snapshot.measure('sqale_rating') %> sqaleRating: '<%= @snapshot.measure('sqale_rating').value -%>', + <% else %> + sqaleRating: 'A', + <% end %> // coverage <% if @snapshot.measure('overall_coverage') %> |