mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 14:36:00 -03:30
fix joblist updating completed jobs lists
This commit is contained in:
@@ -38,10 +38,10 @@ export default function useWsJobs(initialJobs, fetchJobsById, filtersApplied) {
|
|||||||
if (!lastMessage || !lastMessage.unified_job_id) {
|
if (!lastMessage || !lastMessage.unified_job_id) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (filtersApplied) {
|
if (
|
||||||
if (['completed', 'failed', 'error'].includes(lastMessage.status)) {
|
filtersApplied &&
|
||||||
enqueueJobId(lastMessage.unified_job_id);
|
!['completed', 'failed', 'error'].includes(lastMessage.status)
|
||||||
}
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user