mirror of https://github.com/OpenVidu/openvidu.git
ov-components: Update RecordingActivityComponent to avoid showing recordings when not expanded
parent
efada4c166
commit
9e9684c4db
|
@ -389,7 +389,8 @@ export class RecordingActivityComponent implements OnInit, OnDestroy {
|
||||||
if (this.showRecordingList) {
|
if (this.showRecordingList) {
|
||||||
this.recordingList = recordingList;
|
this.recordingList = recordingList;
|
||||||
} else {
|
} else {
|
||||||
this.recordingList = recordingList.filter((rec) => rec.status === RecordingStatus.STARTED);
|
// Avoid showing recordings
|
||||||
|
this.recordingList = [];
|
||||||
}
|
}
|
||||||
this.recordingError = error;
|
this.recordingError = error;
|
||||||
this.recordingAlive = this.recordingStatus === RecordingStatus.STARTED;
|
this.recordingAlive = this.recordingStatus === RecordingStatus.STARTED;
|
||||||
|
|
Loading…
Reference in New Issue