mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-28 22:19:41 -08:00
fix delete bug
This commit is contained in:
parent
8de96a346c
commit
f8eb2dd090
|
@ -1587,6 +1587,7 @@ export default mixins(
|
|||
mousedown: (overlay: Overlay, event: MouseEvent) => {
|
||||
const element = event.target as HTMLElement;
|
||||
if (element.classList.contains('delete') || (element.parentElement && element.parentElement.classList.contains('delete'))) {
|
||||
activeConnection = null;
|
||||
this.instance.deleteConnection(info.connection); // store mutation applied by connectionDetached event
|
||||
}
|
||||
else if (element.classList.contains('add') || (element.parentElement && element.parentElement.classList.contains('add'))) {
|
||||
|
|
Loading…
Reference in a new issue