Merge pull request #10640 from GitStartHQ/BUDIOSS-22
[BUDI-7013] Do not allow Webhook automations to be duplicated
This commit is contained in:
commit
b94dab2fab
|
@ -32,7 +32,12 @@
|
||||||
<div slot="control" class="icon">
|
<div slot="control" class="icon">
|
||||||
<Icon s hoverable name="MoreSmallList" />
|
<Icon s hoverable name="MoreSmallList" />
|
||||||
</div>
|
</div>
|
||||||
<MenuItem icon="Duplicate" on:click={duplicateAutomation}>Duplicate</MenuItem>
|
<MenuItem
|
||||||
|
icon="Duplicate"
|
||||||
|
on:click={duplicateAutomation}
|
||||||
|
disabled={automation.definition.trigger.name === "Webhook"}
|
||||||
|
>Duplicate</MenuItem
|
||||||
|
>
|
||||||
<MenuItem icon="Edit" on:click={updateAutomationDialog.show}>Edit</MenuItem>
|
<MenuItem icon="Edit" on:click={updateAutomationDialog.show}>Edit</MenuItem>
|
||||||
<MenuItem icon="Delete" on:click={confirmDeleteDialog.show}>Delete</MenuItem>
|
<MenuItem icon="Delete" on:click={confirmDeleteDialog.show}>Delete</MenuItem>
|
||||||
</ActionMenu>
|
</ActionMenu>
|
||||||
|
|
Loading…
Reference in New Issue