diff --git a/src/routes/calendar.index.tsx b/src/routes/calendar.index.tsx index 291bfc8..8c37a17 100644 --- a/src/routes/calendar.index.tsx +++ b/src/routes/calendar.index.tsx @@ -242,7 +242,9 @@ function CalendarPage() { const visibleEvents = useMemo(() => { return events.filter((e) => { - if (!activeTypes.has(e.event_type)) return false; + // Treat unknown event types as "other" so they remain visible + const typeKey = EVENT_TYPE_MAP[e.event_type] ? e.event_type : "other"; + if (!activeTypes.has(typeKey)) return false; if (activeStaff.size > 0) { if (!e.owner_id || !activeStaff.has(e.owner_id)) return false; }