From: Eduardo San Martin Morote Date: Thu, 15 Jul 2021 10:46:36 +0000 (+0200) Subject: fix(devtools): avoid grouping patches and mutations with finished actions X-Git-Tag: v2.0.0-rc.0~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18a87fe260317c679732d0ec271c036b9806448f;p=thirdparty%2Fvuejs%2Fpinia.git fix(devtools): avoid grouping patches and mutations with finished actions --- diff --git a/src/devtools/plugin.ts b/src/devtools/plugin.ts index 526a0b27..468a1ea8 100644 --- a/src/devtools/plugin.ts +++ b/src/devtools/plugin.ts @@ -270,6 +270,7 @@ function addDevtools(app: App, store: Store) { }) after((result) => { + activeAction = undefined api.addTimelineEvent({ layerId: MUTATIONS_LAYER_ID, event: { @@ -287,6 +288,7 @@ function addDevtools(app: App, store: Store) { }) onError((error) => { + activeAction = undefined api.addTimelineEvent({ layerId: MUTATIONS_LAYER_ID, event: {