From 25bca76dadd0c182023e8141f9edb412bcd985d3 Mon Sep 17 00:00:00 2001 From: Dicken Date: Sun, 21 Jun 2026 10:58:13 +0200 Subject: [PATCH] Fix: ReferenceError 'period is not defined' in Statistik-Ausgaben-Tab (Altlast aus Button-basierter Zeitraumauswahl) --- frontend/src/tools/statistik.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/tools/statistik.jsx b/frontend/src/tools/statistik.jsx index 5d6358c..0ef72b2 100644 --- a/frontend/src/tools/statistik.jsx +++ b/frontend/src/tools/statistik.jsx @@ -413,7 +413,7 @@ export default function Statistik({ mobile }) { {/* Liste */}
-
AUSGABEN {period!=='all'&&`(${PERIODS.find(p=>p.id===period)?.label?.toUpperCase()})`}
+
AUSGABEN {(fromDate||toDate!==todayLocal())&&'(IM ZEITRAUM)'}
{!data?.expenses?.length ?
Keine Ausgaben im gewählten Zeitraum.
: data.expenses.map(e => (