schedules bug fix

This commit is contained in:
2026-03-28 21:03:12 -04:00
parent 12c4a154e5
commit 3bf01cba1f
2 changed files with 3 additions and 3 deletions

View File

@@ -782,7 +782,7 @@ function EventDetailModal({ event, onClose, onEdit, onAvailabilityChange, isTool
},[event]);
const counts={going:0,maybe:0,not_going:0};
avail.forEach(r=>{if(counts[r.response]!==undefined)counts[r.response]++;});
const isPast = !event.all_day && event.end_at && new Date(event.end_at) < new Date();
const isPast = !!event.end_at && new Date(event.end_at) < new Date();
const noteChanged = noteInput.trim() !== myNote.trim();
const handleResp=async resp=>{