aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2017-01-26 12:29:50 +0100
committerStas Vilchik <vilchiks@gmail.com>2017-01-26 12:31:42 +0100
commit73362b34e1de25ec520eec85780cb6bd0020e210 (patch)
tree0405403e71505804b52d8a9ece7762a83116c5a3
parent7e212441b4b0667e237674cc1f5ca853a8260262 (diff)
downloadsonarqube-73362b34e1de25ec520eec85780cb6bd0020e210.tar.gz
sonarqube-73362b34e1de25ec520eec85780cb6bd0020e210.zip
fix color of coverage rating on projects page
-rw-r--r--server/sonar-web/src/main/js/components/ui/CoverageRating.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/ui/CoverageRating.js b/server/sonar-web/src/main/js/components/ui/CoverageRating.js
index 177bc35673d..82ecaae4348 100644
--- a/server/sonar-web/src/main/js/components/ui/CoverageRating.js
+++ b/server/sonar-web/src/main/js/components/ui/CoverageRating.js
@@ -52,7 +52,7 @@ export default class CoverageRating extends React.Component {
const value = Number(this.props.value);
data = [
{ value, fill: this.props.muted ? '#bdbdbd' : '#00aa00' },
- { value: 100 - value, fill: '#d4333f' }
+ { value: 100 - value, fill: this.props.muted ? '#f3f3f3' : '#d4333f' }
];
}