diff --git a/static/js/directives/ui/tag-operations-dialog.js b/static/js/directives/ui/tag-operations-dialog.js index 8d5d1edbc..6c5dd2ce6 100644 --- a/static/js/directives/ui/tag-operations-dialog.js +++ b/static/js/directives/ui/tag-operations-dialog.js @@ -50,7 +50,7 @@ angular.module('quay').directive('tagOperationsDialog', function () { }; $scope.isAnotherImageTag = function(image, tag) { - if (!$scope.repository || !$scope.images) { return; } + if (!$scope.repository || !$scope.imagesInternal) { return; } var found = $scope.repository.tags[tag]; if (found == null) { return false; } @@ -58,7 +58,7 @@ angular.module('quay').directive('tagOperationsDialog', function () { }; $scope.isOwnedTag = function(image, tag) { - if (!$scope.repository || !$scope.images) { return; } + if (!$scope.repository || !$scope.imagesInternal) { return; } var found = $scope.repository.tags[tag]; if (found == null) { return false; }