mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
100302: Change error check to hasFailed
This commit is contained in:
@@ -365,7 +365,7 @@ export class BaseDataService<T extends CacheableObject> implements HALDataServic
|
||||
if (hasCachedResponse) {
|
||||
return this.rdbService.buildSingle(href$).pipe(
|
||||
getFirstCompletedRemoteData(),
|
||||
map((rd => rd.isError || rd.isErrorStale))
|
||||
map((rd => rd.hasFailed))
|
||||
);
|
||||
}
|
||||
return observableOf(false);
|
||||
|
Reference in New Issue
Block a user