mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
Merge pull request #5310 from matrix-org/dbkr/fix_rogue_half_call_bar
Fix rogue (partial) call bar
This commit is contained in:
commit
4425ae30e9
1 changed files with 3 additions and 1 deletions
|
@ -123,7 +123,9 @@ export default class RoomStatusBar extends React.Component {
|
|||
};
|
||||
|
||||
_showCallBar() {
|
||||
return this.props.callState !== CallState.Ended && this.props.callState !== CallState.Ringing;
|
||||
return (this.props.callState &&
|
||||
(this.props.callState !== CallState.Ended && this.props.callState !== CallState.Ringing)
|
||||
);
|
||||
}
|
||||
|
||||
_onResendAllClick = () => {
|
||||
|
|
Loading…
Reference in a new issue