🐛 Additional fix to dirty check

This commit is contained in:
Jan Oberhauser 2020-12-11 19:22:24 +01:00
parent a2222fa5d6
commit a546f599cd

View file

@ -138,6 +138,7 @@ export const store = new Vuex.Store({
state.activeWorkflows = newActiveWorkflows;
},
setWorkflowActive (state, workflowId: string) {
state.stateIsDirty = false;
const index = state.activeWorkflows.indexOf(workflowId);
if (index === -1) {
state.activeWorkflows.push(workflowId);