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 1ee4ac7..32d4fb3 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 @@ -101,7 +101,7 @@ export class RecordingListsComponent implements OnInit, OnChanges { @Output() recordingAction = new EventEmitter(); @Output() filterChange = new EventEmitter<{ nameFilter: string; statusFilter: string }>(); @Output() loadMore = new EventEmitter<{ nameFilter: string; statusFilter: string }>(); - @Output() refresh = new EventEmitter(); + @Output() refresh = new EventEmitter<{ nameFilter: string; statusFilter: string }>(); // Filter controls nameFilterControl = new FormControl(''); @@ -284,6 +284,12 @@ export class RecordingListsComponent implements OnInit, OnChanges { this.loadMore.emit({ nameFilter, statusFilter }); } + refreshRecordings() { + const nameFilter = this.nameFilterControl.value || ''; + const statusFilter = this.statusFilterControl.value || ''; + this.refresh.emit({ nameFilter, statusFilter }); + } + // ===== FILTER METHODS ===== hasActiveFilters(): boolean { diff --git a/frontend/projects/shared-meet-components/src/lib/pages/console/recordings/recordings.component.html b/frontend/projects/shared-meet-components/src/lib/pages/console/recordings/recordings.component.html index d913e07..e534437 100644 --- a/frontend/projects/shared-meet-components/src/lib/pages/console/recordings/recordings.component.html +++ b/frontend/projects/shared-meet-components/src/lib/pages/console/recordings/recordings.component.html @@ -1,24 +1,25 @@ -@if (isLoading) { - @if (showLoadingSpinner) { - -
-
-
-
- video_library -

Loading Recordings

-
-

Please wait while we fetch your recordings...

+ +@if (isInitializing && showInitialLoader) { +
+
+
+
+ video_library +

Loading Recordings

+

Please wait while we fetch your recordings...

+
-
- -
+
+
- } -} @else { +
+} + +@if (!isInitializing) {
+