diff --git a/web-dashboard/index.html b/web-dashboard/index.html index 4ab64f6..6387b8f 100644 --- a/web-dashboard/index.html +++ b/web-dashboard/index.html @@ -3258,6 +3258,8 @@ const today = stripTime(new Date()); const weekAhead = new Date(today); weekAhead.setDate(weekAhead.getDate() + 7); + const trashAhead = new Date(today); + trashAhead.setDate(trashAhead.getDate() + 3); if (lastCockpitData && lastCockpitData.myRent && lastCockpitData.myRent.status !== 'GREEN') { items.push({ @@ -3281,7 +3283,7 @@ try { const from = today.toISOString().slice(0, 10); - const to = weekAhead.toISOString().slice(0, 10); + const to = trashAhead.toISOString().slice(0, 10); const data = await apiFetch(`/trash-schedule?from=${from}&to=${to}`); data.entries.filter(e => !e.completedAt).forEach(e => { items.push({