Fix rogue (partial) call bar
Call state is now null if there is no call, so check for that too
This commit is contained in:
@@ -123,7 +123,9 @@ export default class RoomStatusBar extends React.Component {
|
|||||||
};
|
};
|
||||||
|
|
||||||
_showCallBar() {
|
_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 = () => {
|
_onResendAllClick = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user