From c637126c7cf1811fc899bb847392f123e4ccbb1f Mon Sep 17 00:00:00 2001 From: user1823 <92206575+user1823@users.noreply.github.com> Date: Sun, 6 Apr 2025 15:26:05 +0530 Subject: [PATCH] Update ease.ts --- ts/routes/graphs/ease.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/routes/graphs/ease.ts b/ts/routes/graphs/ease.ts index c0cf06252..26de02096 100644 --- a/ts/routes/graphs/ease.ts +++ b/ts/routes/graphs/ease.ts @@ -106,8 +106,8 @@ export function prepareData( const xTickFormat = (num: number): string => localizedNumber(num, 0) + "%"; const tableData = [ { - label: tr.statisticsAverageEase(), - value: xTickFormat(sum(Array.from(allEases.entries()).map(([k, v]) => (k + 2.5) * v)) / total), + label: tr.statisticsMedianEase(), + value: xTickFormat(data.average), }, ];