Fix: ReferenceError 'period is not defined' in Statistik-Ausgaben-Tab (Altlast aus Button-basierter Zeitraumauswahl)
This commit is contained in:
@@ -413,7 +413,7 @@ export default function Statistik({ mobile }) {
|
|||||||
|
|
||||||
{/* Liste */}
|
{/* Liste */}
|
||||||
<div style={S.card}>
|
<div style={S.card}>
|
||||||
<div style={S.head}>AUSGABEN {period!=='all'&&`(${PERIODS.find(p=>p.id===period)?.label?.toUpperCase()})`}</div>
|
<div style={S.head}>AUSGABEN {(fromDate||toDate!==todayLocal())&&'(IM ZEITRAUM)'}</div>
|
||||||
{!data?.expenses?.length
|
{!data?.expenses?.length
|
||||||
? <div style={{color:'rgba(255,255,255,0.3)',fontFamily:'monospace',fontSize:12}}>Keine Ausgaben im gewählten Zeitraum.</div>
|
? <div style={{color:'rgba(255,255,255,0.3)',fontFamily:'monospace',fontSize:12}}>Keine Ausgaben im gewählten Zeitraum.</div>
|
||||||
: data.expenses.map(e => (
|
: data.expenses.map(e => (
|
||||||
|
|||||||
Reference in New Issue
Block a user