feat(native-participants-pane) fixed lint errors

This commit is contained in:
Calin Chitu 2021-07-02 16:50:44 +03:00 committed by Hristo Terezov
parent 665b7730ee
commit eeddf6b350
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ const ParticipantsPane = () => {
const isLocalModerator = useSelector(isLocalParticipantModerator);
const participantsCount = useSelector(getParticipantCount);
const everyoneModerator = useSelector(isEveryoneModerator);
const showContextMenu = true;
const showContextMenu = !everyoneModerator && participantsCount > 2;
const muteAll = useCallback(() => dispatch(openDialog(MuteEveryoneDialog)),
[ dispatch ]);
const { t } = useTranslation();