mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
AC-1256 project last updated
After a project update finishes, refresh the list of projects so that it reflects the correct last update timestamps.
This commit is contained in:
parent
fc7ecc4c55
commit
24593a0878
@ -92,8 +92,7 @@ function ProjectsList ($scope, $rootScope, $location, $log, $routeParams, Rest,
|
||||
$log.debug('Received event for project: ' + project.name);
|
||||
$log.debug('Status changed to: ' + data.status);
|
||||
if (data.status === 'successful' || data.status === 'failed') {
|
||||
project.scm_update_tooltip = "Start an SCM update";
|
||||
project.scm_type_class = "";
|
||||
$scope.refresh();
|
||||
}
|
||||
else {
|
||||
project.scm_update_tooltip = "SCM update currently running";
|
||||
|
Loading…
Reference in New Issue
Block a user