We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efe6e12 commit d4b1dfdCopy full SHA for d4b1dfd
packages/node_modules/overmind/src/index.ts
@@ -301,8 +301,8 @@ export class Overmind<ThisConfig extends IConfiguration>
301
eventHub.on(EventType.OPERATOR_ASYNC, () => {
302
proxyStateTree.getMutationTree().flush()
303
})
304
- eventHub.on(EventType.ACTION_END, () => {
305
- proxyStateTree.getMutationTree().flush()
+ eventHub.on(EventType.ACTION_END, (execution) => {
+ if (!execution.parentExecution) proxyStateTree.getMutationTree().flush()
306
307
308
let nextTick
0 commit comments