mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Merge branch 'response-cache-refactoring' into w2p-55946_Item-mapping-on-item-level
This commit is contained in:
@@ -269,7 +269,7 @@ export class MetadataService {
|
|||||||
const item = this.currentObject.value as Item;
|
const item = this.currentObject.value as Item;
|
||||||
item.getFiles()
|
item.getFiles()
|
||||||
.pipe(
|
.pipe(
|
||||||
find((files) => isNotEmpty(files)),
|
first((files) => isNotEmpty(files)),
|
||||||
catchError((error) => {
|
catchError((error) => {
|
||||||
console.debug(error.message);
|
console.debug(error.message);
|
||||||
return []
|
return []
|
||||||
|
Reference in New Issue
Block a user