mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 15:33:04 +00:00
added normalized models and builders
This commit is contained in:
4
src/app/core/cache/response-cache.service.ts
vendored
4
src/app/core/cache/response-cache.service.ts
vendored
@@ -56,7 +56,9 @@ export class ResponseCacheService {
|
||||
|
||||
this.store.select<ResponseCacheEntry>('core', 'cache', 'response', key)
|
||||
.take(1)
|
||||
.subscribe(entry => result = this.isValid(entry));
|
||||
.subscribe(entry => {
|
||||
result = this.isValid(entry);
|
||||
});
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user