Skip to content

Commit 3590582

Browse files
committed
100302: Change error check to hasFailed
1 parent 6c5ae49 commit 3590582

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/core/data/base/base-data.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ export class BaseDataService<T extends CacheableObject> implements HALDataServic
365365
if (hasCachedResponse) {
366366
return this.rdbService.buildSingle(href$).pipe(
367367
getFirstCompletedRemoteData(),
368-
map((rd => rd.isError || rd.isErrorStale))
368+
map((rd => rd.hasFailed))
369369
);
370370
}
371371
return observableOf(false);

0 commit comments

Comments
 (0)