Removed unnecessary check for automationid
This commit is contained in:
parent
e2311b8a55
commit
7db92c8aea
1 changed files with 0 additions and 3 deletions
|
@ -249,9 +249,6 @@ const automationActions = store => ({
|
|||
await store.actions.save(newAutomation)
|
||||
},
|
||||
replace: async (automationId, automation) => {
|
||||
if (!automationId) {
|
||||
return
|
||||
}
|
||||
if (!automation) {
|
||||
store.update(state => {
|
||||
// Remove the automation
|
||||
|
|
Loading…
Reference in a new issue