From 7db92c8aea303f85b77375e14cc532c814068ece Mon Sep 17 00:00:00 2001 From: Dean Date: Mon, 17 Jul 2023 12:17:42 +0100 Subject: [PATCH] Removed unnecessary check for automationid --- packages/builder/src/builderStore/store/automation/index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/builder/src/builderStore/store/automation/index.js b/packages/builder/src/builderStore/store/automation/index.js index 01fc22100e..4ebf0515d6 100644 --- a/packages/builder/src/builderStore/store/automation/index.js +++ b/packages/builder/src/builderStore/store/automation/index.js @@ -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