From 180e0a67cdc39e24cd37eacc9d8fe77843193ace Mon Sep 17 00:00:00 2001 From: Joseph Schorr <joseph.schorr@coreos.com> Date: Fri, 8 May 2015 15:05:31 -0400 Subject: [PATCH] Make sure we show the move tag warning --- static/js/directives/ui/tag-operations-dialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }