mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
remove console log
This commit is contained in:
1
src/app/core/cache/object-cache.service.ts
vendored
1
src/app/core/cache/object-cache.service.ts
vendored
@@ -261,7 +261,6 @@ export class ObjectCacheService {
|
|||||||
const timeOutdated = entry.timeAdded + entry.msToLive;
|
const timeOutdated = entry.timeAdded + entry.msToLive;
|
||||||
const isOutDated = new Date().getTime() > timeOutdated;
|
const isOutDated = new Date().getTime() > timeOutdated;
|
||||||
if (isOutDated) {
|
if (isOutDated) {
|
||||||
console.log('removing', entry.data._links.self.href);
|
|
||||||
this.store.dispatch(new RemoveFromObjectCacheAction(entry.data._links.self.href));
|
this.store.dispatch(new RemoveFromObjectCacheAction(entry.data._links.self.href));
|
||||||
}
|
}
|
||||||
return !isOutDated;
|
return !isOutDated;
|
||||||
|
Reference in New Issue
Block a user