mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
113901: Don't unsubscribe after first succeeded remote data, because otherwise the reRequestOnStale won't work
This commit is contained in:
@@ -517,7 +517,8 @@ export class EditRelationshipListComponent implements OnInit, OnDestroy {
|
|||||||
tap((rd: RemoteData<PaginatedList<Relationship>>) => {
|
tap((rd: RemoteData<PaginatedList<Relationship>>) => {
|
||||||
this.relationshipsRd$.next(rd);
|
this.relationshipsRd$.next(rd);
|
||||||
}),
|
}),
|
||||||
getFirstSucceededRemoteDataPayload(),
|
getAllSucceededRemoteData(),
|
||||||
|
getRemoteDataPayload(),
|
||||||
).subscribe((relationshipPaginatedList: PaginatedList<Relationship>) => {
|
).subscribe((relationshipPaginatedList: PaginatedList<Relationship>) => {
|
||||||
this.objectUpdatesService.initialize(this.url, relationshipPaginatedList.page, new Date());
|
this.objectUpdatesService.initialize(this.url, relationshipPaginatedList.page, new Date());
|
||||||
}),
|
}),
|
||||||
|
Reference in New Issue
Block a user