From 16e135249c5deca0ff7fb8f280f1d27d3556ad53 Mon Sep 17 00:00:00 2001 From: Vismay Golwala Date: Mon, 18 Feb 2019 13:50:48 -0500 Subject: [PATCH] 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 --- awx/ui/client/features/output/status.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/features/output/status.service.js b/awx/ui/client/features/output/status.service.js index 19cad5b540..8b3e995efd 100644 --- a/awx/ui/client/features/output/status.service.js +++ b/awx/ui/client/features/output/status.service.js @@ -32,7 +32,7 @@ function JobStatusService (moment, message) { counts: { plays: 0, tasks: 0, - hosts: 1, + hosts: 0, }, hosts: {}, status: model.get('status'),