Add UI for editing labels on a manifest
This commit is contained in:
parent
46d1532f0e
commit
cfb81c977f
7 changed files with 154 additions and 4 deletions
|
@ -46,6 +46,12 @@ angular.module('quay').directive('manifestLabelList', function () {
|
|||
});
|
||||
};
|
||||
|
||||
$scope.$watch('cache', function(cache) {
|
||||
if (cache && $scope.manifestDigest && $scope.labels && !cache[$scope.manifestDigest]) {
|
||||
loadLabels();
|
||||
}
|
||||
}, true);
|
||||
|
||||
$scope.$watch('repository', loadLabels);
|
||||
$scope.$watch('manifestDigest', loadLabels);
|
||||
}
|
||||
|
|
Reference in a new issue