diff --git a/static/js/controllers.js b/static/js/controllers.js index 2e53a98ea..4c2688c1e 100644 --- a/static/js/controllers.js +++ b/static/js/controllers.js @@ -302,6 +302,8 @@ function RepoAdminCtrl($scope, Restangular, $routeParams, $rootScope) { var deleteAction = Restangular.one('repository/' + namespace + '/' + name); deleteAction.customDELETE().then(function() { + $scope.repo = null; + setTimeout(function() { document.location = '/#/repository'; }, 1000);