mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 05:39:11 +03:00
fix property name
This commit is contained in:
1 parent
687667c095
commit
c44a376943
1 file changed
+5
-2
@@ -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,
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user