From 169b8c203aa82287745c00067c99d88d447cc6f6 Mon Sep 17 00:00:00 2001
From: Carlos Santos <4a.santos@gmail.com>
Date: Wed, 16 Jul 2025 11:07:04 +0200
Subject: [PATCH] frontend: add delete action for failed recordings in
recording lists component
---
.../recording-lists.component.html | 54 +++++++++++--------
.../recording-lists.component.ts | 4 ++
2 files changed, 37 insertions(+), 21 deletions(-)
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 @@
}
-
-
-
-
-
+ }
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 {