1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +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:
Chris Houseknecht 2014-06-12 16:57:14 -04:00
parent fc7ecc4c55
commit 24593a0878

View File

@ -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";