mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 13:33:03 +00:00
fixed issues with ngrx platform upgrade: selectors, tests and router state in the dev tools
This commit is contained in:
2
src/app/core/cache/object-cache.service.ts
vendored
2
src/app/core/cache/object-cache.service.ts
vendored
@@ -92,7 +92,7 @@ export class ObjectCacheService {
|
||||
}
|
||||
|
||||
getRequestHrefBySelfLink(self: string): Observable<string> {
|
||||
return this.store.select('index/href', self)
|
||||
return this.store.select(uuidFromHrefSelector(self))
|
||||
.flatMap((uuid: string) => this.getRequestHref(uuid));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user