From 94281724827a209b902590e6a31f451ec6ba4df0 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Mon, 22 Jul 2024 18:27:27 +0200 Subject: [PATCH] Prevent duplicate --- .../automation/AutomationPanel/AutomationNavItem.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/builder/src/components/automation/AutomationPanel/AutomationNavItem.svelte b/packages/builder/src/components/automation/AutomationPanel/AutomationNavItem.svelte index db0b5bfab1..b8d9c66cf3 100644 --- a/packages/builder/src/components/automation/AutomationPanel/AutomationNavItem.svelte +++ b/packages/builder/src/components/automation/AutomationPanel/AutomationNavItem.svelte @@ -57,7 +57,9 @@ name: "Duplicate", keyBind: null, visible: true, - disabled: automation.definition.trigger.name === "Webhook", + disabled: + automation.definition.trigger.name === "Webhook" || + automation.definition.trigger.name === "Row Action", callback: duplicateAutomation, }, {