Fix read status filter showing only “Unknown” with no results
This commit is contained in:
committed by
Aditya Chandel
parent
538854b397
commit
480eb92f7d
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user