1
0
Fork 0
mirror of synced 2024-07-17 20:25:57 +12:00

Removed unnecessary check for automationid

This commit is contained in:
Dean 2023-07-17 12:17:42 +01:00
parent e2311b8a55
commit 7db92c8aea

View file

@ -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