aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/Timeline.js
diff options
context:
space:
mode:
authorEmiliano Ciavatta2020-10-16 13:26:55 +0000
committerEmiliano Ciavatta2020-10-16 13:26:55 +0000
commitd429a344ef34bb9289616dc7ca11c161fabce5d7 (patch)
tree664d56822eac93568f44c40ca25be725d1dd81c8 /frontend/src/components/Timeline.js
parent5534413b3a3e6e783310be8147ac8340d3098a7e (diff)
Refactor js arrow functions
Diffstat (limited to 'frontend/src/components/Timeline.js')
-rw-r--r--frontend/src/components/Timeline.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/Timeline.js b/frontend/src/components/Timeline.js
index 94fa4d0..9ecbd80 100644
--- a/frontend/src/components/Timeline.js
+++ b/frontend/src/components/Timeline.js
@@ -127,7 +127,7 @@ class Timeline extends Component {
const series = new TimeSeries({
name: "statistics",
columns: ["time"].concat(columns),
- points: zeroFilledMetrics.map((m) => [m["range_start"]].concat(columns.map(c =>
+ points: zeroFilledMetrics.map((m) => [m["range_start"]].concat(columns.map((c) =>
((metric in m) && (m[metric] != null)) ? (m[metric][c] || 0) : 0
)))
});