From 34b519eebbc7cc3dd041e4fa3fb1d9693c69d3a5 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Mon, 20 Apr 2026 10:38:03 +0200 Subject: [PATCH] fix(pitch-deck): Investitionen tab shows values (was empty due to values_invest field) getValues() now reads values_invest for investment rows. Previously only read values/values_total/values_brutto, missing the invest-specific field name. Co-Authored-By: Claude Opus 4.6 (1M context) --- pitch-deck/components/slides/FinanzplanSlide.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pitch-deck/components/slides/FinanzplanSlide.tsx b/pitch-deck/components/slides/FinanzplanSlide.tsx index 80b3811..7c42d55 100644 --- a/pitch-deck/components/slides/FinanzplanSlide.tsx +++ b/pitch-deck/components/slides/FinanzplanSlide.tsx @@ -81,7 +81,7 @@ function LabelWithTooltip({ label }: { label: string }) { } function getValues(row: SheetRow): Record { - return row.values || row.values_total || row.values_brutto || {} + return row.values || row.values_total || row.values_brutto || (row as Record).values_invest as Record || {} } function formatCell(v: number | undefined): string {