From 8de024a699b3d494283b90dfd98aa922202dea26 Mon Sep 17 00:00:00 2001 From: Calin Chitu Date: Fri, 7 Jan 2022 13:43:25 +0200 Subject: [PATCH] feat(participants-pane) hide admit all if knocking part < 2 --- .../components/web/LobbyParticipants.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/react/features/participants-pane/components/web/LobbyParticipants.js b/react/features/participants-pane/components/web/LobbyParticipants.js index f237f724b..2e2771e00 100644 --- a/react/features/participants-pane/components/web/LobbyParticipants.js +++ b/react/features/participants-pane/components/web/LobbyParticipants.js @@ -88,9 +88,12 @@ export default function LobbyParticipants() {
{t('participantsPane.headings.lobby', { count: participants.length })}
-
{t('lobby.admitAll')}
+ { + participants.length > 1 + &&
{t('lobby.admitAll')}
+ }