mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
73249: Fix message and filter issue
This commit is contained in:
@@ -66,8 +66,7 @@ export class FileSectionComponent implements OnInit {
|
||||
currentPage: this.currentPage,
|
||||
elementsPerPage: this.pageSize
|
||||
}).pipe(
|
||||
filter((bitstreamsRD: RemoteData<PaginatedList<Bitstream>>) => hasValue(bitstreamsRD)),
|
||||
filter((bitstreamsRD: RemoteData<PaginatedList<Bitstream>>) => hasValue(!bitstreamsRD.isLoading)),
|
||||
filter((bitstreamsRD: RemoteData<PaginatedList<Bitstream>>) => hasValue(bitstreamsRD) && (hasValue(bitstreamsRD.error) || hasValue(bitstreamsRD.payload))),
|
||||
take(1),
|
||||
).subscribe((bitstreamsRD: RemoteData<PaginatedList<Bitstream>>) => {
|
||||
if (bitstreamsRD.error) {
|
||||
|
@@ -1045,6 +1045,10 @@
|
||||
|
||||
|
||||
|
||||
"file-section.error.header": "Error obtaining files for this item",
|
||||
|
||||
|
||||
|
||||
"footer.copyright": "copyright © 2002-{{ year }}",
|
||||
|
||||
"footer.link.dspace": "DSpace software",
|
||||
|
Reference in New Issue
Block a user