diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-12-26 17:52:57 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-12-26 17:52:57 +0000 |
commit | ebf3320ffbe5d57f91a4a692b8adcc013a1b9b19 (patch) | |
tree | 843f99d40282a7c0ff7d404a5b3628736588a68d /sonar-server/src | |
parent | 6a45c30d771165c6febe961ff0a1c926b42b1fef (diff) | |
download | sonarqube-ebf3320ffbe5d57f91a4a692b8adcc013a1b9b19.tar.gz sonarqube-ebf3320ffbe5d57f91a4a692b8adcc013a1b9b19.zip |
fix display of measures
Diffstat (limited to 'sonar-server/src')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/models/project_measure.rb | 3 |
1 files changed, 0 insertions, 3 deletions
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 |