Skip to content

Commit

Permalink
fix: do not show link for "Online" classes too (not only "ONLINE")
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Nov 17, 2024
1 parent 9df7fde commit a254adf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/calendar/CalendarEventPopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ export default function CalendarEventPopover({
</div>
<div className="flex flex-row gap-1">
{locations.map((location: string, index: number) =>
location !== "ONLINE" && location !== "ОНЛАЙН" ? (
location.toUpperCase() !== "ONLINE" &&
location.toUpperCase() !== "ОНЛАЙН" ? (
<div className="flex flex-row items-center gap-1">
<Link
key={index}
Expand Down

0 comments on commit a254adf

Please sign in to comment.