From: simonbrandhof Date: Sun, 26 Dec 2010 17:52:57 +0000 (+0000) Subject: fix display of measures X-Git-Tag: 2.6~221 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ebf3320ffbe5d57f91a4a692b8adcc013a1b9b19;p=sonarqube.git fix display of measures --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/project_measure.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/project_measure.rb index 071b75aa54b..e1877fa6e9d 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/models/project_measure.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/models/project_measure.rb @@ -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