Revert " Deconstructed store mutation data parameters for better readability"

This reverts commit 17ab16d248.
This commit is contained in:
Rupenieks
2020-09-09 14:28:13 +02:00
parent 17ab16d248
commit 33582655f2
6 changed files with 22 additions and 21 deletions

View File

@@ -420,7 +420,7 @@ export const workflowHelpers = mixins(
this.$store.commit('setActive', workflowData.active || false);
this.$store.commit('setWorkflowId', workflowData.id);
this.$store.commit('setWorkflowName', {name: workflowData.name, setStateDirty: false});
this.$store.commit('setWorkflowName', {newName: workflowData.name, setStateDirty: false});
this.$store.commit('setWorkflowSettings', workflowData.settings || {});
} else {
// Workflow exists already so update it