diff --git a/src/SEQTA.ts b/src/SEQTA.ts index 48533330..be7524dc 100644 --- a/src/SEQTA.ts +++ b/src/SEQTA.ts @@ -2358,7 +2358,11 @@ export async function loadHomePage() { if (labelArray.length > 0) { const noticeContainer = document.getElementById('notice-container') if (noticeContainer) { - processNotices(notices, labelArray[0].split(' ')) + const dateControl = document.querySelector('input[type="date"]') as HTMLInputElement + if (dateControl) { + dateControl.value = TodayFormatted + setupNotices(labelArray[0].split(' '), TodayFormatted) + } noticeContainer.classList.remove('loading') } }