From 028f20375ff566b32a336bf746ee862942de5380 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Wed, 14 Aug 2024 16:38:43 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9(frontend)=20avoid=20evaluating=20w?= =?UTF-8?q?ith=200=20in=20ParticipantList?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Even if the list is empty, previous assertion was returning true. Fixed it, mybad, noob error. In fact, the participants list should never be empty, as you are in the meeting to access it. --- .../components/controls/Participants/ParticipantsList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/features/rooms/livekit/components/controls/Participants/ParticipantsList.tsx b/src/frontend/src/features/rooms/livekit/components/controls/Participants/ParticipantsList.tsx index 820bfa23..6a04b768 100644 --- a/src/frontend/src/features/rooms/livekit/components/controls/Participants/ParticipantsList.tsx +++ b/src/frontend/src/features/rooms/livekit/components/controls/Participants/ParticipantsList.tsx @@ -98,7 +98,7 @@ export const ParticipantsList = () => { - {participants?.length && ( + {participants?.length > 0 && (