From 23d97cb78e8f4c5925186231f2cacdf54618a855 Mon Sep 17 00:00:00 2001 From: CSantosM <4a.santos@gmail.com> Date: Tue, 26 May 2026 10:15:34 +0200 Subject: [PATCH] ov-components: simplify conditions for opening activity panels --- .../src/lib/components/toolbar/toolbar.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openvidu-components-angular/projects/openvidu-components-angular/src/lib/components/toolbar/toolbar.component.ts b/openvidu-components-angular/projects/openvidu-components-angular/src/lib/components/toolbar/toolbar.component.ts index 9ff75ddb8..884f3e59e 100644 --- a/openvidu-components-angular/projects/openvidu-components-angular/src/lib/components/toolbar/toolbar.component.ts +++ b/openvidu-components-angular/projects/openvidu-components-angular/src/lib/components/toolbar/toolbar.component.ts @@ -684,7 +684,7 @@ export class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit { * @ignore */ openRecordingActivityPanel() { - if (this.showActivitiesPanelButton && !this.isActivitiesOpened) { + if (!this.isActivitiesOpened) { this.panelService.togglePanel(PanelType.ACTIVITIES, 'recording'); } } @@ -693,7 +693,7 @@ export class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit { * @ignore */ openBroadcastingActivityPanel() { - if (this.showActivitiesPanelButton && !this.isActivitiesOpened) { + if (!this.isActivitiesOpened) { this.panelService.togglePanel(PanelType.ACTIVITIES, 'broadcasting'); } }