summaryrefslogtreecommitdiff
path: root/assets/js/components/chart-project-cumulative-flow.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/components/chart-project-cumulative-flow.js')
-rw-r--r--assets/js/components/chart-project-cumulative-flow.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/assets/js/components/chart-project-cumulative-flow.js b/assets/js/components/chart-project-cumulative-flow.js
index 2c8a5682..7b258230 100644
--- a/assets/js/components/chart-project-cumulative-flow.js
+++ b/assets/js/components/chart-project-cumulative-flow.js
@@ -12,18 +12,17 @@ KB.component('chart-project-cumulative-flow', function (containerElement, option
for (var j = 0; j < metrics[i].length; j++) {
- if (i == 0) {
+ if (i === 0) {
columns.push([metrics[i][j]]);
if (j > 0) {
groups.push(metrics[i][j]);
}
- }
- else {
+ } else {
columns[j].push(metrics[i][j]);
- if (j == 0) {
+ if (j === 0) {
categories.push(outputFormat(inputFormat.parse(metrics[i][j])));
}
}