Make sure we show the move tag warning
This commit is contained in:
parent
3b93854c0b
commit
180e0a67cd
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ angular.module('quay').directive('tagOperationsDialog', function () {
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.isAnotherImageTag = function(image, tag) {
|
$scope.isAnotherImageTag = function(image, tag) {
|
||||||
if (!$scope.repository || !$scope.images) { return; }
|
if (!$scope.repository || !$scope.imagesInternal) { return; }
|
||||||
|
|
||||||
var found = $scope.repository.tags[tag];
|
var found = $scope.repository.tags[tag];
|
||||||
if (found == null) { return false; }
|
if (found == null) { return false; }
|
||||||
|
@ -58,7 +58,7 @@ angular.module('quay').directive('tagOperationsDialog', function () {
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.isOwnedTag = function(image, tag) {
|
$scope.isOwnedTag = function(image, tag) {
|
||||||
if (!$scope.repository || !$scope.images) { return; }
|
if (!$scope.repository || !$scope.imagesInternal) { return; }
|
||||||
|
|
||||||
var found = $scope.repository.tags[tag];
|
var found = $scope.repository.tags[tag];
|
||||||
if (found == null) { return false; }
|
if (found == null) { return false; }
|
||||||
|
|
Reference in a new issue