This commit is contained in:
Adria Navarro 2024-07-19 16:49:30 +02:00
parent 6c67aaf3a0
commit b9443906dc
1 changed files with 3 additions and 1 deletions

View File

@ -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)
},