mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 20:51:21 -03:30
Reload the project list when we get a canceled socket message
This commit is contained in:
parent
5501d42de0
commit
e0a10fb9d6
@ -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";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user