113901: Don't unsubscribe after first succeeded remote data, because otherwise the reRequestOnStale won't work

This commit is contained in:
Alexandre Vryghem
2024-05-23 11:58:44 +02:00
parent fb8733ca0b
commit 7a9bb4d726

View File

@@ -517,7 +517,8 @@ export class EditRelationshipListComponent implements OnInit, OnDestroy {
tap((rd: RemoteData<PaginatedList<Relationship>>) => {
this.relationshipsRd$.next(rd);
}),
getFirstSucceededRemoteDataPayload(),
getAllSucceededRemoteData(),
getRemoteDataPayload(),
).subscribe((relationshipPaginatedList: PaginatedList<Relationship>) => {
this.objectUpdatesService.initialize(this.url, relationshipPaginatedList.page, new Date());
}),