From 9c2186b002ee815da1ea92baa12424cf1c411796 Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Fri, 20 Sep 2024 12:50:04 -0400 Subject: [PATCH] fix typo DailyActiveMinutesCard --- www/js/metrics/movement/DailyActiveMinutesCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/metrics/movement/DailyActiveMinutesCard.tsx b/www/js/metrics/movement/DailyActiveMinutesCard.tsx index c6e1c0e07..cf6ff5f35 100644 --- a/www/js/metrics/movement/DailyActiveMinutesCard.tsx +++ b/www/js/metrics/movement/DailyActiveMinutesCard.tsx @@ -18,7 +18,7 @@ const DailyActiveMinutesCard = ({ userMetrics, activeModes }: Props) => { userMetrics?.duration?.forEach((day) => { const activeSeconds = valueForFieldOnDay(day, 'mode_confirm', modeKey); records.push({ - label: labelKeyToText(mode), + label: labelKeyToText(modeKey), x: tsForDayOfMetricData(day) * 1000, // vertical chart, milliseconds on X axis y: (activeSeconds || 0) / 60, // minutes on Y axis });