Skip to content

Commit

Permalink
change to for each
Browse files Browse the repository at this point in the history
  • Loading branch information
AjayJagan committed Jul 19, 2023
1 parent 58b60ac commit 009a3e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui-packages/packages/process-details/src/utils/Utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export const getOmmitedNodesForTimeline = (
const stateNames: string[] = workflowFile.states
.map((state) => state.name)
.concat(['Start', 'End']);
nodes.map((node) => {
nodes.forEach((node) => {
if (!stateNames.includes(node.name)) {
nodesToOmmit.push(node.name);
}
Expand Down

0 comments on commit 009a3e3

Please sign in to comment.