diff --git a/static/js/directives/repo-view/repo-panel-tags.js b/static/js/directives/repo-view/repo-panel-tags.js index f1f54752f..2fe30f82e 100644 --- a/static/js/directives/repo-view/repo-panel-tags.js +++ b/static/js/directives/repo-view/repo-panel-tags.js @@ -244,11 +244,12 @@ angular.module('quay').directive('repoPanelTags', function () { loadRepoSignatures(); }); - $scope.$watch('repositoryTags', function(tags) { + $scope.$watch('repositoryTags', function(newTags, oldTags) { + if (newTags === oldTags) { return; } // Process each of the tags. setTagState(); loadRepoSignatures(); - }); + }, true); $scope.loadImageVulnerabilities = function(image_id, imageData) { VulnerabilityService.loadImageVulnerabilities($scope.repository, image_id, function(resp) {