fix(editor): Fix floating nodes sorting (no-changelog) (#11301)

This commit is contained in:
Raúl Gómez Morales 2024-10-18 11:13:47 +02:00 committed by GitHub
parent 0aae47c295
commit 6a722c45ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -73,7 +73,7 @@ const connectedNodes = computed<
), ),
[FloatingNodePosition.right]: getINodesFromNames( [FloatingNodePosition.right]: getINodesFromNames(
workflow.getChildNodes(rootName, NodeConnectionType.Main, 1), workflow.getChildNodes(rootName, NodeConnectionType.Main, 1),
), ).reverse(),
[FloatingNodePosition.left]: getINodesFromNames( [FloatingNodePosition.left]: getINodesFromNames(
workflow.getParentNodes(rootName, NodeConnectionType.Main, 1), workflow.getParentNodes(rootName, NodeConnectionType.Main, 1),
), ),