mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
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:
parent
889dae357b
commit
16e135249c
@ -32,7 +32,7 @@ function JobStatusService (moment, message) {
|
||||
counts: {
|
||||
plays: 0,
|
||||
tasks: 0,
|
||||
hosts: 1,
|
||||
hosts: 0,
|
||||
},
|
||||
hosts: {},
|
||||
status: model.get('status'),
|
||||
|
Loading…
Reference in New Issue
Block a user