ov-components: simplify conditions for opening activity panels

pull/900/head
CSantosM 2026-05-26 10:15:34 +02:00
parent 92eaf47e4e
commit 23d97cb78e
1 changed files with 2 additions and 2 deletions

View File

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