diff --git a/frontend/projects/shared-meet-components/src/lib/components/recording-lists/recording-lists.component.html b/frontend/projects/shared-meet-components/src/lib/components/recording-lists/recording-lists.component.html index 0be1640..5e4b09a 100644 --- a/frontend/projects/shared-meet-components/src/lib/components/recording-lists/recording-lists.component.html +++ b/frontend/projects/shared-meet-components/src/lib/components/recording-lists/recording-lists.component.html @@ -195,30 +195,42 @@ } - - - - - + } @else { + + - @if (canDeleteRecording(recording)) { - - - } - + + @if (canDeleteRecording(recording)) { + + + } + + } diff --git a/frontend/projects/shared-meet-components/src/lib/components/recording-lists/recording-lists.component.ts b/frontend/projects/shared-meet-components/src/lib/components/recording-lists/recording-lists.component.ts index 655993e..daab174 100644 --- a/frontend/projects/shared-meet-components/src/lib/components/recording-lists/recording-lists.component.ts +++ b/frontend/projects/shared-meet-components/src/lib/components/recording-lists/recording-lists.component.ts @@ -310,6 +310,10 @@ export class RecordingListsComponent implements OnInit, OnChanges { return this.canDeleteRecordings && this.isStatusInGroup(recording.status, this.STATUS_GROUPS.SELECTABLE); } + isRecordingFailed(recording: MeetRecordingInfo): boolean { + return this.isStatusInGroup(recording.status, this.STATUS_GROUPS.ERROR); + } + // ===== UI HELPER METHODS ===== getStatusIcon(status: MeetRecordingStatus): string {