schedules bug fix
This commit is contained in:
@@ -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=>{
|
||||
|
||||
Reference in New Issue
Block a user