Always show the repo circle in the image view without the lock. To determine whether to show the lock, we'd need another lookup.
This commit is contained in:
parent
a1e7e69706
commit
de72487f34
1 changed files with 2 additions and 1 deletions
|
@ -1819,7 +1819,8 @@ function ImageViewCtrl($scope, $routeParams, $rootScope, $timeout, ApiService, I
|
|||
$scope.image = ApiService.getImageAsResource(params).get(function(image) {
|
||||
$scope.repo = {
|
||||
'name': name,
|
||||
'namespace': namespace
|
||||
'namespace': namespace,
|
||||
'is_public': true
|
||||
};
|
||||
|
||||
$rootScope.title = 'View Image - ' + image.id;
|
||||
|
|
Reference in a new issue