1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +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:
Vismay Golwala 2019-02-18 13:50:48 -05:00
parent 889dae357b
commit 16e135249c

View File

@ -32,7 +32,7 @@ function JobStatusService (moment, message) {
counts: {
plays: 0,
tasks: 0,
hosts: 1,
hosts: 0,
},
hosts: {},
status: model.get('status'),