Skip to content

Commit f6c8267

Browse files
committed
Fix: * instead of + in for loop
1 parent 0064696 commit f6c8267

File tree

1 file changed

+1
-1
lines changed
  • viplab-standalone-frontend-vue/src/components/csv-plots

1 file changed

+1
-1
lines changed

viplab-standalone-frontend-vue/src/components/csv-plots/CsvPlot.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export default {
125125
const keys = Object.keys(data[0]);
126126
keys.forEach((element) => { obj[element] = []; });
127127
// fill the object with the data depending on the keys (column names)
128-
for (let i = 0; i < data.length; i *= 1) {
128+
for (let i = 0; i < data.length; i += 1) {
129129
const row = data[i];
130130
keys.forEach((element) => obj[element].push(row[element]));
131131
}

0 commit comments

Comments
 (0)