mirror of https://github.com/OpenVidu/openvidu.git
openvidu-components: Fixed bug with recordingActivity
Fixed a typo with recordingActivity attribute directive of ov-activities-panelpull/771/head
parent
a48a6ffa32
commit
8aba9d0610
|
@ -2,7 +2,7 @@ import { Directive, AfterViewInit, OnDestroy, Input, ElementRef } from '@angular
|
||||||
import { OpenViduAngularConfigService } from '../../services/config/openvidu-angular.config.service';
|
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`
|
* Default: `true`
|
||||||
*
|
*
|
||||||
|
@ -14,9 +14,9 @@ import { OpenViduAngularConfigService } from '../../services/config/openvidu-ang
|
||||||
* \
|
* \
|
||||||
* And it also can be used in the {@link ActivitiesPanelComponent}.
|
* And it also can be used in the {@link ActivitiesPanelComponent}.
|
||||||
* @example
|
* @example
|
||||||
* <ov-activities-panel [recordingActivity]="false"></ov-activities-panel>
|
* <ov-activities-panel *ovActivitiesPanel [recordingActivity]="false"></ov-activities-panel>
|
||||||
*/
|
*/
|
||||||
@Directive({
|
@Directive({
|
||||||
selector: 'ov-videoconference[activitiesPanelRecordingActivity], ov-activities-panel[recordingActivity]'
|
selector: 'ov-videoconference[activitiesPanelRecordingActivity], ov-activities-panel[recordingActivity]'
|
||||||
})
|
})
|
||||||
export class ActivitiesPanelRecordingActivityDirective implements AfterViewInit, OnDestroy {
|
export class ActivitiesPanelRecordingActivityDirective implements AfterViewInit, OnDestroy {
|
||||||
|
@ -24,7 +24,7 @@ export class ActivitiesPanelRecordingActivityDirective implements AfterViewInit,
|
||||||
this.recordingActivityValue = value;
|
this.recordingActivityValue = value;
|
||||||
this.update(this.recordingActivityValue);
|
this.update(this.recordingActivityValue);
|
||||||
}
|
}
|
||||||
@Input() set recordingList(value: boolean) {
|
@Input() set recordingActivity(value: boolean) {
|
||||||
this.recordingActivityValue = value;
|
this.recordingActivityValue = value;
|
||||||
this.update(this.recordingActivityValue);
|
this.update(this.recordingActivityValue);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue