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:
Joseph Schorr 2014-03-05 16:34:19 -05:00
parent a1e7e69706
commit de72487f34

View file

@ -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;