Fix read status filter showing only “Unknown” with no results

This commit is contained in:
aditya.chandel
2025-07-10 09:43:36 -06:00
committed by Aditya Chandel
parent 538854b397
commit 480eb92f7d
6 changed files with 54 additions and 23 deletions
@@ -466,7 +466,7 @@ export class MetadataViewerComponent implements OnInit, OnChanges {
}));
getStatusLabel(value: string): string {
return this.readStatusOptions.find(o => o.value === value)?.label.toUpperCase() ?? 'N/A';
return this.readStatusOptions.find(o => o.value === value)?.label.toUpperCase() ?? 'UNSET';
}
updateReadStatus(status: ReadStatus): void {