From ff9fbf50a2d090519ee90e387324efd9fba26404 Mon Sep 17 00:00:00 2001 From: Vencislav Atanasov Date: Tue, 1 Oct 2024 20:04:42 +0300 Subject: [PATCH] Skip empty brackets if there are no participant users --- src/Schedule/Schedule.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Schedule/Schedule.jsx b/src/Schedule/Schedule.jsx index 8b15ab6..ab0c08f 100644 --- a/src/Schedule/Schedule.jsx +++ b/src/Schedule/Schedule.jsx @@ -89,7 +89,7 @@ export default function Schedule({ {events.map(event =>

{event.title} - {event.participant_users && !isTrackHidden(event.track) && <> + {event.participant_users.length > 0 && !isTrackHidden(event.track) && <> ({event.participant_users.map(speaker => speaker && )}) }