Switch to using the ?namespace param instead of cookie changes
This commit is contained in:
parent
fdb628a0b0
commit
407ef7ad3c
2 changed files with 7 additions and 11 deletions
|
@ -874,15 +874,7 @@ quayApp.directive('repoBreadcrumb', function () {
|
|||
'repo': '=repo',
|
||||
'image': '=image'
|
||||
},
|
||||
controller: function($scope, $element, $location, UserService, CookieService) {
|
||||
$scope.showNamespace = function() {
|
||||
var namespace = $scope.repo.namespace || '';
|
||||
if (UserService.isKnownNamespace(namespace)) {
|
||||
CookieService.putPermanent('quay.namespace', namespace);
|
||||
}
|
||||
|
||||
$location.path('/repository/');
|
||||
};
|
||||
controller: function($scope, $element) {
|
||||
}
|
||||
};
|
||||
return directiveDefinitionObject;
|
||||
|
|
Reference in a new issue