From 8aba9d06101cac808d97a00956b14c91bb554a84 Mon Sep 17 00:00:00 2001
From: Carlos Santos <4a.santos@gmail.com>
Date: Wed, 14 Dec 2022 13:07:47 +0100
Subject: [PATCH] openvidu-components: Fixed bug with recordingActivity
Fixed a typo with recordingActivity attribute directive of ov-activities-panel
---
.../src/lib/directives/api/activities-panel.directive.ts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/directives/api/activities-panel.directive.ts b/openvidu-components-angular/projects/openvidu-angular/src/lib/directives/api/activities-panel.directive.ts
index e5ec4772..3b8f8dfc 100644
--- a/openvidu-components-angular/projects/openvidu-angular/src/lib/directives/api/activities-panel.directive.ts
+++ b/openvidu-components-angular/projects/openvidu-angular/src/lib/directives/api/activities-panel.directive.ts
@@ -2,7 +2,7 @@ import { Directive, AfterViewInit, OnDestroy, Input, ElementRef } from '@angular
import { OpenViduAngularConfigService } from '../../services/config/openvidu-angular.config.service';
/**
- * The **recordingActivity** directive allows show/hide the recording activity in {@link ActivitiesPanelComponent} activity panel component.
+ * The **recordingActivity** directive allows show/hide the recording activity in {@link ActivitiesPanelComponent}.
*
* Default: `true`
*
@@ -14,9 +14,9 @@ import { OpenViduAngularConfigService } from '../../services/config/openvidu-ang
* \
* And it also can be used in the {@link ActivitiesPanelComponent}.
* @example
- *
+ *
*/
- @Directive({
+@Directive({
selector: 'ov-videoconference[activitiesPanelRecordingActivity], ov-activities-panel[recordingActivity]'
})
export class ActivitiesPanelRecordingActivityDirective implements AfterViewInit, OnDestroy {
@@ -24,7 +24,7 @@ export class ActivitiesPanelRecordingActivityDirective implements AfterViewInit,
this.recordingActivityValue = value;
this.update(this.recordingActivityValue);
}
- @Input() set recordingList(value: boolean) {
+ @Input() set recordingActivity(value: boolean) {
this.recordingActivityValue = value;
this.update(this.recordingActivityValue);
}