mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00: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:
@@ -2743,7 +2743,11 @@ export default defineComponent({
|
|||||||
|
|
||||||
if (nodeType && inputs.length === 1) {
|
if (nodeType && inputs.length === 1) {
|
||||||
this.pullConnActiveNodeName = node.name;
|
this.pullConnActiveNodeName = node.name;
|
||||||
const endpointUUID = this.getInputEndpointUUID(nodeName, 0);
|
const endpointUUID = this.getInputEndpointUUID(
|
||||||
|
nodeName,
|
||||||
|
connection.parameters.type,
|
||||||
|
0,
|
||||||
|
);
|
||||||
if (endpointUUID) {
|
if (endpointUUID) {
|
||||||
const endpoint = this.instance?.getEndpoint(endpointUUID);
|
const endpoint = this.instance?.getEndpoint(endpointUUID);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user