From 7dc45c28a2619a83cdb7311e7ac9acaf6db079db Mon Sep 17 00:00:00 2001 From: Hristo Terezov Date: Mon, 8 Feb 2021 15:02:07 -0600 Subject: [PATCH] fix(AudioSlider): removed when volume is 0 --- .../components/web/RemoteVideoMenuTriggerButton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/remote-video-menu/components/web/RemoteVideoMenuTriggerButton.js b/react/features/remote-video-menu/components/web/RemoteVideoMenuTriggerButton.js index eb420aed5..4d1e9e3f5 100644 --- a/react/features/remote-video-menu/components/web/RemoteVideoMenuTriggerButton.js +++ b/react/features/remote-video-menu/components/web/RemoteVideoMenuTriggerButton.js @@ -216,7 +216,7 @@ class RemoteVideoMenuTriggerButton extends Component { participantID = { participantID } /> ); - if (onVolumeChange && initialVolumeValue && !isNaN(initialVolumeValue)) { + if (onVolumeChange && typeof initialVolumeValue === 'number' && !isNaN(initialVolumeValue)) { buttons.push(