feat(participants-pane) hide admit all if knocking part < 2
This commit is contained in:
parent
f4c91374bf
commit
8de024a699
|
@ -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 }
|
||||
|
|
Loading…
Reference in New Issue