diff --git a/awx/ui/src/screens/Job/JobOutput/useJobEvents.js b/awx/ui/src/screens/Job/JobOutput/useJobEvents.js index c3f894279e..7566c1a915 100644 --- a/awx/ui/src/screens/Job/JobOutput/useJobEvents.js +++ b/awx/ui/src/screens/Job/JobOutput/useJobEvents.js @@ -56,7 +56,8 @@ export default function useJobEvents(callbacks, jobId, isFlatMode) { callbacks .fetchChildrenSummary() .then((result) => { - if (result.data.event_processing_finished === false) { + const { event_processing_finished, is_tree } = result.data; + if (event_processing_finished === false || is_tree === false) { callbacks.setForceFlatMode(true); callbacks.setJobTreeReady(); return;