mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
feat(editor): Add plus handle design with ability to add connected nodes in new canvas (no-changelog) (#10097)
This commit is contained in:
@@ -148,7 +148,8 @@ export function mapLegacyEndpointsToCanvasConnectionPort(
|
||||
}
|
||||
|
||||
return endpoints.map((endpoint, endpointIndex) => {
|
||||
const type = typeof endpoint === 'string' ? endpoint : endpoint.type;
|
||||
const typeValue = typeof endpoint === 'string' ? endpoint : endpoint.type;
|
||||
const type = isValidNodeConnectionType(typeValue) ? typeValue : NodeConnectionType.Main;
|
||||
const label = typeof endpoint === 'string' ? undefined : endpoint.displayName;
|
||||
const index =
|
||||
endpoints
|
||||
|
||||
Reference in New Issue
Block a user