diff options
Diffstat (limited to 'sonar-server/src/main/webapp/WEB-INF/app/models/metric.rb')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/models/metric.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/metric.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/metric.rb index fe23e7eb177..21a08a20616 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/models/metric.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/models/metric.rb @@ -120,7 +120,7 @@ class Metric < ActiveRecord::Base end def alertable? - (!data?) && (!hidden) && (key!=Metric::ALERT_STATUS) + (!data?) && (!hidden) && (key!=Metric::ALERT_STATUS) && (val_type != VALUE_TYPE_RATING) end def suffix |