Merge pull request #10607 from pedrobmarin/breakout-join-audio-ui
Fix the UI state on breakout room audio join
This commit is contained in:
commit
1363f8e1e5
@ -221,13 +221,12 @@ class BreakoutRoom extends PureComponent {
|
||||
(
|
||||
<Button
|
||||
label={
|
||||
moderatorJoinedAudio
|
||||
&& stateBreakoutId === breakoutId
|
||||
&& joinedAudioOnly
|
||||
stateBreakoutId === breakoutId && joinedAudioOnly
|
||||
? intl.formatMessage(intlMessages.breakoutReturnAudio)
|
||||
: intl.formatMessage(intlMessages.breakoutJoinAudio)
|
||||
}
|
||||
className={styles.button}
|
||||
disabled={stateBreakoutId !== breakoutId && joinedAudioOnly}
|
||||
key={`join-audio-${breakoutId}`}
|
||||
onClick={audioAction}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user