Force reload on any change to repositoryTags (#3273)
This commit is contained in:
parent
f76d153764
commit
60048f6da1
1 changed files with 3 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Reference in a new issue