diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-04-28 16:33:00 +0200 |
---|---|---|
committer | Grégoire Aubert <gregaubert@users.noreply.github.com> | 2017-05-01 16:23:17 +0200 |
commit | a7b91a1668a2ef9b99b35ddfaa1eae35118b4f5d (patch) | |
tree | 045132a0394b392ce429cd133e40f1adc06b5624 /server/sonar-web | |
parent | 15849bc5b5ebbc69d28435d5f62bb558246146dc (diff) | |
download | sonarqube-a7b91a1668a2ef9b99b35ddfaa1eae35118b4f5d.tar.gz sonarqube-a7b91a1668a2ef9b99b35ddfaa1eae35118b4f5d.zip |
SONAR-8869 Fix quality gate history graph
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/js/apps/component-measures/details/history/MeasureHistory.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/component-measures/details/history/MeasureHistory.js b/server/sonar-web/src/main/js/apps/component-measures/details/history/MeasureHistory.js index a3b3946d56d..af8e4bde73c 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/details/history/MeasureHistory.js +++ b/server/sonar-web/src/main/js/apps/component-measures/details/history/MeasureHistory.js @@ -112,7 +112,7 @@ export default class MeasureHistory extends React.PureComponent { const data = snapshots.map(snapshot => { return { x: snapshot.date, - y: Number(snapshot.value) + y: metric.type === 'LEVEL' ? snapshot.value : Number(snapshot.value) }; }); |