diff --git a/client/src/components/voice/ui/VoiceQuickSettings.jsx b/client/src/components/voice/ui/VoiceQuickSettings.jsx index 1b0e4a6fe0..8c5a704491 100644 --- a/client/src/components/voice/ui/VoiceQuickSettings.jsx +++ b/client/src/components/voice/ui/VoiceQuickSettings.jsx @@ -92,7 +92,7 @@ class VoiceQuickSettings extends React.Component { {msg('vc.myStatus')} -
+
- - - + {!this.props.peersHidden ? ( + + + + ) : null}
@@ -151,7 +153,7 @@ class VoiceQuickSettings extends React.Component {
- {this.props.voicePiPEnabled ? : null} + {(this.props.voicePiPEnabled && !this.props.peersHidden) ? : null} ); } @@ -169,5 +171,6 @@ function mapStateToProps(state) { isMutedServerSide: state.voiceState.isMutedServerSide, isSpeaking: state.voiceState.isSpeaking, currentUser: state.currentUser, + peersHidden: state.voiceState.peersHidden, }; }