Skip to content

Commit ac60437

Browse files
authored
Metrics: fix string concatenation of number fields in advanced charts (#2874)
1 parent 24d380b commit ac60437

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dt-metrics/records/time-charts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ function getData() {
10491049
default: {
10501050
window.dtMetricsProject.cumulative_offset =
10511051
response.cumulative_offset !== undefined
1052-
? response.cumulative_offset
1052+
? parseInt(response.cumulative_offset)
10531053
: 0;
10541054
window.dtMetricsProject.data = isAllTime
10551055
? formatYearData(data)

0 commit comments

Comments
 (0)