From a8a78b39141556570104db8638352fce1cc6f03c Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Mon, 17 Aug 2015 14:55:18 -0700 Subject: [PATCH] Organize host events by host id missed this in the original PR --- awx/ui/client/src/helpers/JobDetail.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/helpers/JobDetail.js b/awx/ui/client/src/helpers/JobDetail.js index 3977c26bb9..3e54f37a5d 100644 --- a/awx/ui/client/src/helpers/JobDetail.js +++ b/awx/ui/client/src/helpers/JobDetail.js @@ -3,7 +3,7 @@ * * All Rights Reserved *************************************************/ - + /** * @ngdoc function * @name helpers.function:JobDetail @@ -503,7 +503,7 @@ export default scope.jobData.hostSummaries[host_id].unreachable += (status === 'unreachable') ? 1 : 0; scope.jobData.hostSummaries[host_id].failed += (status === 'failed') ? 1 : 0; if (status === 'failed' || status === 'unreachable') { - scope.jobData.hostSummaries[name].status = 'failed'; + scope.jobData.hostSummaries[host_id].status = 'failed'; } } else {