From 845e0f8747a24a338eeb8bf565e271a536a59124 Mon Sep 17 00:00:00 2001 From: Charrier Date: Wed, 13 Nov 2024 18:49:24 +0100 Subject: [PATCH] chore: removed embarquement and atelier from events (#640) --- src/components/EventsList.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/EventsList.tsx b/src/components/EventsList.tsx index 12341059..0e511917 100644 --- a/src/components/EventsList.tsx +++ b/src/components/EventsList.tsx @@ -20,7 +20,9 @@ export function EventsList({ events }: { events: CalendarResponse }) { .filter( ([key, event]) => event.type === "VEVENT" && - !event.summary.toLowerCase().includes("formation") + (!event.summary.toLowerCase().includes("formation") || + !event.summary.toLowerCase().includes("atelier") || + !event.summary.toLowerCase().includes("embarquement")) ) .sort( ([key1, event1], [key2, event2]) =>