Skip to content

Commit 5f8508f

Browse files
committed
chore: revert reversal of edgeList in Workflow
1 parent 10a8c34 commit 5f8508f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/components/workflowEditor/Workflow.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -684,10 +684,7 @@ export class Workflow extends Component<WorkflowProps, WorkflowState> {
684684
}
685685
}
686686

687-
// In the SVG, the bottom elements are rendered on top.
688-
// By reversing, this prevents the path elements (workflow arrows) from overlapping and covering other elements
689-
// like the ApprovalNode button or add node button, which are rendered earlier.
690-
return edgeList.reverse()
687+
return edgeList
691688
}
692689

693690
toggleShowDeleteDialog = () => {

0 commit comments

Comments
 (0)