mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
Simplifie sidebar showing logic
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
33abe83dad
commit
f4287fc3ab
@ -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 New Issue
Block a user