mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 10:57:35 -02: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:
@@ -203,7 +203,7 @@ function JobDetailController ($location, $rootScope, $scope, $compile, $routePar
|
|||||||
else {
|
else {
|
||||||
name = "<deleted host>";
|
name = "<deleted host>";
|
||||||
}
|
}
|
||||||
scope.jobData.hostSummaries[event.id] = {
|
scope.jobData.hostSummaries[name] = {
|
||||||
id: name,
|
id: name,
|
||||||
name: name,
|
name: name,
|
||||||
ok: event.ok,
|
ok: event.ok,
|
||||||
|
|||||||
@@ -503,7 +503,7 @@ function($rootScope, $log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, Ge
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
scope.jobData.hostSummaries[name] = {
|
scope.jobData.hostSummaries[name] = {
|
||||||
id: host_id,
|
id: name,
|
||||||
name: name,
|
name: name,
|
||||||
ok: (status === 'successful') ? 1 : 0,
|
ok: (status === 'successful') ? 1 : 0,
|
||||||
changed: (status === 'changed') ? 1 : 0,
|
changed: (status === 'changed') ? 1 : 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user