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 d4b1dfd commit 041c4acCopy full SHA for 041c4ac
packages/node_modules/overmind/src/index.ts
@@ -328,16 +328,18 @@ export class Overmind<ThisConfig extends IConfiguration>
328
}
329
})
330
eventHub.on(EventType.ACTION_END, (execution) => {
331
- const flushData = execution.flush()
+ if (!execution.parentExecution) {
332
+ const flushData = execution.flush()
333
- if (this.devtools && flushData.mutations.length) {
334
- this.devtools.send({
335
- type: 'flush',
336
- data: {
337
- ...execution,
338
- ...flushData,
339
- },
340
- })
+ if (this.devtools && flushData.mutations.length) {
+ this.devtools.send({
+ type: 'flush',
+ data: {
+ ...execution,
+ ...flushData,
+ },
341
+ })
342
+ }
343
344
345
0 commit comments