From a254adf305fd8ee09d1d95f95fbabb7c33dba5ef Mon Sep 17 00:00:00 2001 From: Artem Bulgakov Date: Sun, 17 Nov 2024 16:49:04 +0300 Subject: [PATCH] fix: do not show link for "Online" classes too (not only "ONLINE") --- src/components/calendar/CalendarEventPopover.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/calendar/CalendarEventPopover.tsx b/src/components/calendar/CalendarEventPopover.tsx index 59fa976..4386327 100644 --- a/src/components/calendar/CalendarEventPopover.tsx +++ b/src/components/calendar/CalendarEventPopover.tsx @@ -116,7 +116,8 @@ export default function CalendarEventPopover({
{locations.map((location: string, index: number) => - location !== "ONLINE" && location !== "ОНЛАЙН" ? ( + location.toUpperCase() !== "ONLINE" && + location.toUpperCase() !== "ОНЛАЙН" ? (