implemented cancelled event visualization

This commit is contained in:
2025-11-27 13:40:58 -05:00
parent 941004f913
commit 0b3a95cdc0
5 changed files with 33 additions and 18 deletions

View File

@@ -65,7 +65,7 @@ export async function cancelEvent(eventID: number) {
export async function getShortEventsInRange(startDate: string, endDate: string): Promise<CalendarEventShort[]> {
const sql = `
SELECT id, name, start, end, color
SELECT id, name, start, end, color, cancelled
FROM calendar_events
WHERE start BETWEEN ? AND ?
ORDER BY start ASC