From 9f7ac059b7aadf365ca748fb7742c6575568c867 Mon Sep 17 00:00:00 2001 From: jaredevantabor Date: Thu, 10 Nov 2016 13:10:22 -0500 Subject: [PATCH] Small fix for projects list to update on successful websocket messages --- awx/ui/client/src/controllers/Projects.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/awx/ui/client/src/controllers/Projects.js b/awx/ui/client/src/controllers/Projects.js index 0016a3dbe1..f8f2d74886 100644 --- a/awx/ui/client/src/controllers/Projects.js +++ b/awx/ui/client/src/controllers/Projects.js @@ -77,8 +77,7 @@ export function ProjectsList($scope, $rootScope, $location, $log, $stateParams, $log.debug('Received event for project: ' + project.name); $log.debug('Status changed to: ' + data.status); if (data.status === 'successful' || data.status === 'failed') { - // @issue: OLD SEARCH - // $scope.search(list.iterator, null, null, null, null, false); + $state.go('.', null, { reload: true }); } else { project.scm_update_tooltip = "SCM update currently running"; project.scm_type_class = "btn-disabled";