From a2222fa5d6ff5e3a6d22eddeda2316f67a4b1bba Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Fri, 11 Dec 2020 19:17:53 +0100 Subject: [PATCH] :bug: Fix issue that workflow displayed as changed on activate/deactivate --- packages/editor-ui/src/store.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/editor-ui/src/store.ts b/packages/editor-ui/src/store.ts index 8275908fc0..ca7c125ced 100644 --- a/packages/editor-ui/src/store.ts +++ b/packages/editor-ui/src/store.ts @@ -138,14 +138,12 @@ export const store = new Vuex.Store({ state.activeWorkflows = newActiveWorkflows; }, setWorkflowActive (state, workflowId: string) { - state.stateIsDirty = true; const index = state.activeWorkflows.indexOf(workflowId); if (index === -1) { state.activeWorkflows.push(workflowId); } }, setWorkflowInactive (state, workflowId: string) { - state.stateIsDirty = true; const index = state.activeWorkflows.indexOf(workflowId); if (index !== -1) { state.selectedNodes.splice(index, 1);