diff --git a/src/components/flow/node/helpers.ts b/src/components/flow/node/helpers.ts index 8455d161..f9fc4224 100644 --- a/src/components/flow/node/helpers.ts +++ b/src/components/flow/node/helpers.ts @@ -69,13 +69,15 @@ export const getResultName = (node: FlowNode) => { // }; //PE-207: hide ticket feature export const getVisibleActions = (renderNode: RenderNode): Action[] => { - let actionList = renderNode.node.actions.filter((action: Action) => action.type !== Types.open_ticket); + let actionList = renderNode.node.actions.filter( + (action: Action) => action.type !== Types.open_ticket + ); // subflow nodes hide their set run results - if ( getType(renderNode) === Types.split_by_subflow ) { + if (getType(renderNode) === Types.split_by_subflow) { actionList = actionList.filter((action: Action) => action.type !== Types.set_run_result); } return actionList; -} +}; export const filterIssuesForAction = ( nodeUUID: string,