From e8832672db7a5896ca27f657431babc880b631c0 Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Thu, 14 Aug 2014 13:24:50 -0400 Subject: [PATCH] Job detail page Fixed https://trello.com/c/H4O8aLeG/294-host-summary-includes-delete-host-where-it-could-display-host-name --- awx/ui/static/js/controllers/JobDetail.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/static/js/controllers/JobDetail.js b/awx/ui/static/js/controllers/JobDetail.js index 5ca051fd3d..c0239afff3 100644 --- a/awx/ui/static/js/controllers/JobDetail.js +++ b/awx/ui/static/js/controllers/JobDetail.js @@ -1197,8 +1197,8 @@ function JobDetailController ($location, $rootScope, $scope, $compile, $routePar scope.next_host_summaries = data.next; data.results.forEach(function(row) { var name; - if (event.host_name) { - name = event.host_name; + if (row.host_name) { + name = row.host_name; } else { name = "";