mirror of
https://github.com/ansible/awx.git
synced 2026-03-25 21:05:03 -02:30
Fixed # of hosts - job details UI
In the UI job details page, the number of hosts for any job was always displayed '1' irrespective of the actual count. This was caused because of a faulty initialization of variable followed by unreachable code. It has been fixed by updating init value. Signed-off-by: Vismay Golwala <vgolwala@redhat.com>
This commit is contained in:
@@ -32,7 +32,7 @@ function JobStatusService (moment, message) {
|
|||||||
counts: {
|
counts: {
|
||||||
plays: 0,
|
plays: 0,
|
||||||
tasks: 0,
|
tasks: 0,
|
||||||
hosts: 1,
|
hosts: 0,
|
||||||
},
|
},
|
||||||
hosts: {},
|
hosts: {},
|
||||||
status: model.get('status'),
|
status: model.get('status'),
|
||||||
|
|||||||
Reference in New Issue
Block a user