mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
fix(editor): Open native context menu when editing Sticky (#8370)
This commit is contained in:
parent
c7c4ae4514
commit
ade7d30053
|
@ -328,8 +328,10 @@ export default defineComponent({
|
|||
}
|
||||
},
|
||||
onContextMenu(e: MouseEvent): void {
|
||||
if (this.node) {
|
||||
if (this.node && !this.isActive) {
|
||||
this.contextMenu.open(e, { source: 'node-right-click', node: this.node });
|
||||
} else {
|
||||
e.stopPropagation();
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue