Deconstructed store mutation data parameters for better readability

This commit is contained in:
Rupenieks
2020-09-09 14:05:11 +02:00
parent 6961050a42
commit 17ab16d248
6 changed files with 21 additions and 22 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', {newName: workflowData.name, setStateDirty: false});
this.$store.commit('setWorkflowName', {name: workflowData.name, setStateDirty: false});
this.$store.commit('setWorkflowSettings', workflowData.settings || {});
} else {
// Workflow exists already so update it