diff --git a/static/directives/repo-tag-history.html b/static/directives/repo-tag-history.html index 7e7d8fa31..2ee944426 100644 --- a/static/directives/repo-tag-history.html +++ b/static/directives/repo-tag-history.html @@ -111,7 +111,7 @@ -
diff --git a/static/js/directives/ui/repo-tag-history.js b/static/js/directives/ui/repo-tag-history.js index 7be799ccb..5ce56cf19 100644 --- a/static/js/directives/ui/repo-tag-history.js +++ b/static/js/directives/ui/repo-tag-history.js @@ -10,6 +10,7 @@ angular.module('quay').directive('repoTagHistory', function () { restrict: 'C', scope: { 'repository': '=repository', + 'repositoryTags': '=repositoryTags', 'filter': '=filter', 'isEnabled': '=isEnabled', 'imageLoader': '=imageLoader' @@ -34,7 +35,7 @@ angular.module('quay').directive('repoTagHistory', function () { }; $scope.$watch('isEnabled', loadTimeline); - $scope.$watch('repository', loadTimeline); + $scope.$watch('repositoryTags', loadTimeline); var processTags = function(tags) { var entries = []; @@ -176,4 +177,4 @@ angular.module('quay').directive('repoTagHistory', function () { } }; return directiveDefinitionObject; -}); \ No newline at end of file +}); diff --git a/static/js/directives/ui/tag-operations-dialog.js b/static/js/directives/ui/tag-operations-dialog.js index dfd51289e..48159cb4a 100644 --- a/static/js/directives/ui/tag-operations-dialog.js +++ b/static/js/directives/ui/tag-operations-dialog.js @@ -389,11 +389,6 @@ angular.module('quay').directive('tagOperationsDialog', function () { return; } - if (tag.image_id == image_id) { - bootbox.alert('This is the current image for the tag'); - return; - } - $scope.restoreTagInfo = { 'tag': tag, 'image_id': image_id, diff --git a/static/partials/repo-view.html b/static/partials/repo-view.html index 5db77ff84..391e57554 100644 --- a/static/partials/repo-view.html +++ b/static/partials/repo-view.html @@ -89,6 +89,7 @@

Tag History