mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 21:49:27 -02:30
Fix live events on dashboard
This commit is contained in:
@@ -48,6 +48,10 @@ angular.module('DashboardJobsWidget', ['RestServices', 'Utilities'])
|
||||
e.html(html);
|
||||
$compile(e)(scope);
|
||||
|
||||
$rootScope.$on('JobStatusChange', function() {
|
||||
jobs_scope.refreshJobs();
|
||||
});
|
||||
|
||||
if (scope.removeListLoaded) {
|
||||
scope.removeListLoaded();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user