mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 11:11:07 -03:30
Reload the project list when we get a canceled socket message
This commit is contained in:
@@ -112,7 +112,7 @@ export default ['$scope', '$rootScope', '$log', 'Rest', 'Alert',
|
||||
// And we found the affected project
|
||||
$log.debug('Received event for project: ' + project.name);
|
||||
$log.debug('Status changed to: ' + data.status);
|
||||
if (data.status === 'successful' || data.status === 'failed') {
|
||||
if (data.status === 'successful' || data.status === 'failed' || data.status === 'canceled') {
|
||||
$scope.reloadList();
|
||||
} else {
|
||||
project.scm_update_tooltip = "SCM update currently running";
|
||||
|
||||
Reference in New Issue
Block a user