mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
fix(editor): Fix canvas endpoint snapping when dragging connection (#7346)
Github issue / Community forum post (link here to close automatically): Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
This commit is contained in:
parent
ddc26c21bd
commit
b59b9086d7
|
@ -2743,7 +2743,11 @@ export default defineComponent({
|
|||
|
||||
if (nodeType && inputs.length === 1) {
|
||||
this.pullConnActiveNodeName = node.name;
|
||||
const endpointUUID = this.getInputEndpointUUID(nodeName, 0);
|
||||
const endpointUUID = this.getInputEndpointUUID(
|
||||
nodeName,
|
||||
connection.parameters.type,
|
||||
0,
|
||||
);
|
||||
if (endpointUUID) {
|
||||
const endpoint = this.instance?.getEndpoint(endpointUUID);
|
||||
|
||||
|
|
Loading…
Reference in a new issue