mirror of
https://github.com/edumeet/edumeet.git
synced 2026-08-02 15:52:29 +00:00
Fix not showing mute button when producer doesn't exist
This commit is contained in:
parent
2f0d925e8b
commit
abb0bccfe9
1 changed files with 2 additions and 1 deletions
|
|
@ -469,6 +469,7 @@ const Peer = (props) =>
|
|||
}}
|
||||
>
|
||||
|
||||
{micConsumer &&
|
||||
<Tooltip
|
||||
title={intl.formatMessage({
|
||||
id : 'device.muteAudio',
|
||||
|
|
@ -485,7 +486,6 @@ const Peer = (props) =>
|
|||
// className={classes.fab}
|
||||
style={{ ...controls.item.style }}
|
||||
className={classnames('fab')}
|
||||
disabled={!micConsumer}
|
||||
color={micEnabled ? 'default' : 'secondary'}
|
||||
size={controls.item.size}
|
||||
onClick={() =>
|
||||
|
|
@ -503,6 +503,7 @@ const Peer = (props) =>
|
|||
</Fab>
|
||||
</div>
|
||||
</Tooltip>
|
||||
}
|
||||
|
||||
{ browser.platform !== 'mobile' &&
|
||||
videoVisible && windowConsumer !== webcamConsumer.id &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue