Skip to content

Commit 7a9bb4d

Browse files
113901: Don't unsubscribe after first succeeded remote data, because otherwise the reRequestOnStale won't work
1 parent fb8733c commit 7a9bb4d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/app/item-page/edit-item-page/item-relationships/edit-relationship-list/edit-relationship-list.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,8 @@ export class EditRelationshipListComponent implements OnInit, OnDestroy {
517517
tap((rd: RemoteData<PaginatedList<Relationship>>) => {
518518
this.relationshipsRd$.next(rd);
519519
}),
520-
getFirstSucceededRemoteDataPayload(),
520+
getAllSucceededRemoteData(),
521+
getRemoteDataPayload(),
521522
).subscribe((relationshipPaginatedList: PaginatedList<Relationship>) => {
522523
this.objectUpdatesService.initialize(this.url, relationshipPaginatedList.page, new Date());
523524
}),

0 commit comments

Comments
 (0)