mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 05:17:36 -02:30
Small fix for projects list to update on successful websocket messages
This commit is contained in:
@@ -77,8 +77,7 @@ export function ProjectsList($scope, $rootScope, $location, $log, $stateParams,
|
|||||||
$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') {
|
||||||
// @issue: OLD SEARCH
|
$state.go('.', null, { reload: true });
|
||||||
// $scope.search(list.iterator, null, null, null, null, false);
|
|
||||||
} else {
|
} else {
|
||||||
project.scm_update_tooltip = "SCM update currently running";
|
project.scm_update_tooltip = "SCM update currently running";
|
||||||
project.scm_type_class = "btn-disabled";
|
project.scm_type_class = "btn-disabled";
|
||||||
|
|||||||
Reference in New Issue
Block a user