Skip to content

Commit f429722

Browse files
committed
Reset wasUpdated only on processed messages
1 parent c361a8c commit f429722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/ObservableQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,11 +912,11 @@ Did you mean to call refetch(variables) instead of refetch({ variables })?`,
912912

913913
const subscription = observable.pipe(operator).subscribe({
914914
next: (notification) => {
915-
wasUpdated = false;
916915
if (notification.kind !== "N" || notification.source !== "network") {
917916
return;
918917
}
919918

919+
wasUpdated = false;
920920
const fetchMoreResult = notification.value;
921921

922922
if (isNetworkRequestSettled(notification.value.networkStatus)) {

0 commit comments

Comments
 (0)