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'); } }