Fix sidebar hiding
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
7ad62a8b1a
commit
1b9b5fd048
1 changed files with 5 additions and 1 deletions
|
@ -645,7 +645,11 @@ export default class CallView extends React.Component<IProps, IState> {
|
|||
let sidebar;
|
||||
if (
|
||||
(!isOnHold && !transfereeCall) &&
|
||||
((sidebarShown && this.props.call.type === CallType.Video) || someoneIsScreensharing)
|
||||
(
|
||||
(sidebarShown && this.props.call.type === CallType.Video) ||
|
||||
(someoneIsScreensharing && sidebarShown) ||
|
||||
isScreensharing
|
||||
)
|
||||
) {
|
||||
sidebar = (
|
||||
<CallViewSidebar
|
||||
|
|
Loading…
Reference in a new issue