]> source.dussan.org Git - sonarqube.git/commitdiff
fix display of measures
authorsimonbrandhof <simon.brandhof@gmail.com>
Sun, 26 Dec 2010 17:52:57 +0000 (17:52 +0000)
committersimonbrandhof <simon.brandhof@gmail.com>
Sun, 26 Dec 2010 17:52:57 +0000 (17:52 +0000)
sonar-server/src/main/webapp/WEB-INF/app/models/project_measure.rb

index 071b75aa54b9d74c5ca78dcf8b779d1eb431d833..e1877fa6e9d4b09151d30b9cb200a7a3457d51ae 100644 (file)
@@ -62,9 +62,6 @@ class ProjectMeasure < ActiveRecord::Base
   end
 
   def formatted_value
-    if text_value.nil? && value.nil?
-      return nil
-    end
     if metric.nil?
       return value.to_s
     end