mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-18 13:41:21 +01:00
parent
58d17cbd72
commit
8b8dcc6b17
@ -211,7 +211,7 @@
|
||||
if(val) {
|
||||
vm.selectedTags[val.repoName] = val.tags;
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
function deleteSelectedTags() {
|
||||
console.log('Delete selected tags:' + angular.toJson(vm.selectedTags[vm.repoName]) + ' under repo:' + vm.repoName);
|
||||
|
@ -28,14 +28,14 @@
|
||||
vm.tags = [];
|
||||
vm.retrieve = retrieve;
|
||||
|
||||
vm.selected = []
|
||||
vm.selected = [];
|
||||
vm.selected[vm.repoName] = [];
|
||||
|
||||
vm.selectedTags = [];
|
||||
|
||||
$scope.$watch('vm.repoName', function(current, origin) {
|
||||
if(current) {
|
||||
console.log('vm.repoName triggered tags retrieval.')
|
||||
console.log('vm.repoName triggered tags retrieval.');
|
||||
vm.retrieve();
|
||||
}
|
||||
});
|
||||
@ -61,7 +61,7 @@
|
||||
console.log('RECEIVED gatherSelectedTags:' + val);
|
||||
gatherSelectedTags();
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
$scope.$on('selectAll' + vm.repoName, function(e, val) {
|
||||
(val.status) ? vm.selectedCount[val.repoName] = vm.tags.length : vm.selectedCount[val.repoName] = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user