Get tag deletion working
This commit is contained in:
parent
9da93c7caf
commit
971dd7dd3a
2 changed files with 47 additions and 2 deletions
|
@ -250,6 +250,11 @@ function RepoCtrl($scope, Restangular, ApiService, $routeParams, $rootScope, $lo
|
|||
$location.search('tag', $scope.currentTag.name);
|
||||
}
|
||||
}
|
||||
|
||||
if ($scope.currentTag && !repo.tags[$scope.currentTag.name]) {
|
||||
$scope.currentTag = null;
|
||||
$scope.currentImage = null;
|
||||
}
|
||||
};
|
||||
|
||||
$scope.getTagCount = function(repo) {
|
||||
|
|
Reference in a new issue