fix property name

This commit is contained in:
Jordi Enric committed 2025-08-25 16:38:27 +02:00
1 parent 687667c095
commit c44a376943
1 file changed
+5 -2
+5 -2
View File
@@ -320,14 +320,17 @@ const METRIC_FORMATTER: Record<
const data = result
.map((p: any) => ({
period_start: p.timestamp,
avg_execution_time: p.avg_execution_time,
ExecutionTime: p.avg_execution_time,
}))
.sort(
(a: { period_start: string }, b: { period_start: string }) =>
new Date(a.period_start).getTime() - new Date(b.period_start).getTime()
)
return { data, chartAttributes }
return {
data,
chartAttributes,
}
}
},
}