Simplifie sidebar showing logic

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-22 11:16:16 +02:00
parent 33abe83dad
commit f4287fc3ab
No known key found for this signature in database
GPG Key ID: 55C211A1226CB17D

View File

@ -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