mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Simplifie sidebar showing logic
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
33abe83dad
commit
f4287fc3ab
1 changed files with 4 additions and 2 deletions
|
@ -645,8 +645,10 @@ export default class CallView extends React.Component<IProps, IState> {
|
|||
|
||||
let sidebar;
|
||||
if (
|
||||
(!isOnHold && !transfereeCall) &&
|
||||
sidebarShown && (isVideoCall || someoneIsScreensharing)
|
||||
!isOnHold &&
|
||||
!transfereeCall &&
|
||||
sidebarShown &&
|
||||
(isVideoCall || someoneIsScreensharing)
|
||||
) {
|
||||
sidebar = (
|
||||
<CallViewSidebar
|
||||
|
|
Loading…
Reference in a new issue