Make sure we show the move tag warning

This commit is contained in:
Joseph Schorr 2015-05-08 15:05:31 -04:00
parent 3b93854c0b
commit 180e0a67cd

View file

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