diff --git a/awx/ui_next/src/screens/Job/WorkflowOutput/WorkflowOutput.jsx b/awx/ui_next/src/screens/Job/WorkflowOutput/WorkflowOutput.jsx index 9783d9ea7b..d624a34ff0 100644 --- a/awx/ui_next/src/screens/Job/WorkflowOutput/WorkflowOutput.jsx +++ b/awx/ui_next/src/screens/Job/WorkflowOutput/WorkflowOutput.jsx @@ -30,11 +30,7 @@ const fetchWorkflowNodes = async (jobId, pageNo = 1, nodes = []) => { page: pageNo, }); if (data.next) { - return fetchWorkflowNodes( - jobId, - pageNo + 1, - nodes.concat(data.results) - ); + return fetchWorkflowNodes(jobId, pageNo + 1, nodes.concat(data.results)); } return nodes.concat(data.results); };