diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2017-01-24 14:51:48 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2017-01-24 15:42:05 +0100 |
commit | dd51ac2553e1613e7ea3cd5e8c41cce2803f488c (patch) | |
tree | d69f9d19c448c38a6e3757599db4f7dd045d5841 /server | |
parent | cb883c44ccc301e14972c0bfde83126224fc2cfb (diff) | |
download | sonarqube-dd51ac2553e1613e7ea3cd5e8c41cce2803f488c.tar.gz sonarqube-dd51ac2553e1613e7ea3cd5e8c41cce2803f488c.zip |
SONAR-8645 Unexpected text wrapping on the Projects page
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/js/helpers/measures.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/helpers/measures.js b/server/sonar-web/src/main/js/helpers/measures.js index 7a50b3ebc19..505ebaf6bfc 100644 --- a/server/sonar-web/src/main/js/helpers/measures.js +++ b/server/sonar-web/src/main/js/helpers/measures.js @@ -181,7 +181,7 @@ function floatVariationFormatter (value) { function percentFormatter (value) { value = parseFloat(value); - return numeral(value / 100).format('0,0.0%'); + return value === 100 ? '100%' : numeral(value / 100).format('0,0.0%'); } function percentVariationFormatter (value) { |