diff --git a/typescript/frontend-marios2/src/content/dashboards/SodiohomeInstallations/WeeklyReport.tsx b/typescript/frontend-marios2/src/content/dashboards/SodiohomeInstallations/WeeklyReport.tsx index c2e2c5f8c..092bd382b 100644 --- a/typescript/frontend-marios2/src/content/dashboards/SodiohomeInstallations/WeeklyReport.tsx +++ b/typescript/frontend-marios2/src/content/dashboards/SodiohomeInstallations/WeeklyReport.tsx @@ -573,7 +573,7 @@ function WeeklySection({ installationId, latestMonthlyPeriodEnd }: { installatio const prev = report.previousWeek; const currentWeekDayCount = Math.min(7, report.dailyData.length); - const previousWeekDayCount = Math.max(1, report.dailyData.length - currentWeekDayCount); + const previousWeekDayCount = 7; const formatChange = (pct: number) => pct === 0 ? '—' : pct > 0 ? `+${pct.toFixed(1)}%` : `${pct.toFixed(1)}%`;