fix(AudioSlider): removed when volume is 0
This commit is contained in:
parent
a215f9706a
commit
7dc45c28a2
|
@ -216,7 +216,7 @@ class RemoteVideoMenuTriggerButton extends Component<Props> {
|
|||
participantID = { participantID } />
|
||||
);
|
||||
|
||||
if (onVolumeChange && initialVolumeValue && !isNaN(initialVolumeValue)) {
|
||||
if (onVolumeChange && typeof initialVolumeValue === 'number' && !isNaN(initialVolumeValue)) {
|
||||
buttons.push(
|
||||
<VolumeSlider
|
||||
initialValue = { initialVolumeValue }
|
||||
|
|
Loading…
Reference in New Issue