|
@@ -388,7 +388,7 @@ function _mapStateToProps(state, ownProps) {
|
388
|
388
|
const { disableKick, disableGrantModerator } = remoteVideoMenu;
|
389
|
389
|
let _remoteControlState = null;
|
390
|
390
|
const participant = getParticipantById(state, participantID);
|
391
|
|
- const _participantDisplayName = participant.name;
|
|
391
|
+ const _participantDisplayName = participant?.name;
|
392
|
392
|
const _isRemoteControlSessionActive = participant?.remoteControlSessionStatus ?? false;
|
393
|
393
|
const _supportsRemoteControl = participant?.supportsRemoteControl ?? false;
|
394
|
394
|
const { active, controller } = state['features/remote-control'];
|