mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 10:27:37 -02: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
|
// And we found the affected project
|
||||||
$log.debug('Received event for project: ' + project.name);
|
$log.debug('Received event for project: ' + project.name);
|
||||||
$log.debug('Status changed to: ' + data.status);
|
$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();
|
$scope.reloadList();
|
||||||
} else {
|
} else {
|
||||||
project.scm_update_tooltip = "SCM update currently running";
|
project.scm_update_tooltip = "SCM update currently running";
|
||||||
|
|||||||
Reference in New Issue
Block a user