From d5297c5ece1d8009b1dde2fb0683d60050211ec5 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Mon, 2 Dec 2024 16:10:31 -0500 Subject: [PATCH] Wasn't showing total correctly. Fixed. --- .../com/squareup/invert/common/pages/AllStatsReportPage.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invert-report/src/jsMain/kotlin/com/squareup/invert/common/pages/AllStatsReportPage.kt b/invert-report/src/jsMain/kotlin/com/squareup/invert/common/pages/AllStatsReportPage.kt index ed588cc..786ed47 100644 --- a/invert-report/src/jsMain/kotlin/com/squareup/invert/common/pages/AllStatsReportPage.kt +++ b/invert-report/src/jsMain/kotlin/com/squareup/invert/common/pages/AllStatsReportPage.kt @@ -150,8 +150,8 @@ fun AllStatsComposable( statMetadata.dataType.name, statMetadata.category ).apply { - statTotalsMap?.get(statMetadata.key)?.let { count -> - add(count.toString()) + statTotalsMap?.get(statMetadata.key)?.let { statTotalAndMetadata: StatTotalAndMetadata -> + add(statTotalAndMetadata.total.toString()) } } },