ov-components: Update RecordingActivityComponent to avoid showing recordings when not expanded

master
Carlos Santos 2025-08-18 14:00:16 +02:00
parent efada4c166
commit 9e9684c4db
1 changed files with 2 additions and 1 deletions

View File

@ -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;