Prevent duplicate

This commit is contained in:
Adria Navarro 2024-07-22 18:27:27 +02:00
parent 1081d415fa
commit 9428172482
1 changed files with 3 additions and 1 deletions

View File

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