Skip to content

Commit acaaed5

Browse files
committed
batch eval_trigger and buffered
1 parent c0dc2c3 commit acaaed5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/client/src/sagas/EvaluationsSaga.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -772,10 +772,10 @@ function* evaluationChangeListenerSaga(): any {
772772

773773
if (shouldDeferAction(action)) {
774774
hasDeferredAction = true;
775-
} else if (timeout) {
775+
} else if (timeout && hasDeferredAction) {
776776
hasDeferredAction = false;
777777
const action = {
778-
payload: { affectedJSObjects: { ids: [], isAllAffected: false } },
778+
payload: { affectedJSObjects: { ids: [], isAllAffected: true } },
779779
type: ReduxActionTypes.BUFFERED_ACTION,
780780
};
781781

0 commit comments

Comments
 (0)