mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
Job Detail Page
Additional fix for https://trello.com/c/WZ18zIqG/337-completed-job-detail-statistics-differ-between-realtime-and-page-refresh
This commit is contained in:
parent
945bedf5e6
commit
6d44bdd5c7
@ -203,7 +203,7 @@ function JobDetailController ($location, $rootScope, $scope, $compile, $routePar
|
||||
else {
|
||||
name = "<deleted host>";
|
||||
}
|
||||
scope.jobData.hostSummaries[event.id] = {
|
||||
scope.jobData.hostSummaries[name] = {
|
||||
id: name,
|
||||
name: name,
|
||||
ok: event.ok,
|
||||
|
||||
@ -503,7 +503,7 @@ function($rootScope, $log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, Ge
|
||||
}
|
||||
else {
|
||||
scope.jobData.hostSummaries[name] = {
|
||||
id: host_id,
|
||||
id: name,
|
||||
name: name,
|
||||
ok: (status === 'successful') ? 1 : 0,
|
||||
changed: (status === 'changed') ? 1 : 0,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user