mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02: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
|
callbacks
|
||||||
.fetchChildrenSummary()
|
.fetchChildrenSummary()
|
||||||
.then((result) => {
|
.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.setForceFlatMode(true);
|
||||||
callbacks.setJobTreeReady();
|
callbacks.setJobTreeReady();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user