Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(participants-pane) hide admit all if knocking part < 2

Calin Chitu8de024a699b3
diff --git a/react/features/participants-pane/components/web/LobbyParticipants.js b/react/features/participants-pane/components/web/LobbyParticipants.js
index f237f724b2..2e2771e003 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() {
<div className = { classes.heading }>
{t('participantsPane.headings.lobby', { count: participants.length })}
</div>
- <div
- className = { classes.link }
- onClick = { admitAll }>{t('lobby.admitAll')}</div>
+ {
+ participants.length > 1
+ && <div
+ className = { classes.link }
+ onClick = { admitAll }>{t('lobby.admitAll')}</div>
+ }
</div>
<LobbyParticipantItems
openDrawerForParticipant = { openDrawerForParticipant }