Fix
This commit is contained in:
parent
6c67aaf3a0
commit
b9443906dc
|
@ -308,7 +308,9 @@ const automationActions = store => ({
|
|||
if (!automation) {
|
||||
return
|
||||
}
|
||||
delete newAutomation.definition.stepNames[blockId]
|
||||
if (newAutomation.definition.stepNames) {
|
||||
delete newAutomation.definition.stepNames[blockId]
|
||||
}
|
||||
|
||||
await store.actions.save(newAutomation)
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue