mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 23:46:05 -03:30
check for is_tree flag from children summary response
This commit is contained in:
committed by
Seth Foster
parent
550d9d5e42
commit
2704b202bf
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user