1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-04 05:15:25 +02:00

feat(app): push pull container duplicate

This commit is contained in:
xAt0mZ 2019-11-21 01:27:00 +01:00
parent fd3187abc8
commit c183cb53aa
6 changed files with 47 additions and 49 deletions

View file

@ -15,9 +15,11 @@ class porImageRegistryController {
async onInit() {
try {
const [registries, dockerhub, availableImages] = await Promise.all([this.RegistryService.registries(),
this.DockerHubService.dockerhub(),
this.autoComplete ? this.ImageService.images() : []]);
const [registries, dockerhub, availableImages] = await Promise.all([
this.RegistryService.registries(),
this.DockerHubService.dockerhub(),
this.autoComplete ? this.ImageService.images() : []
]);
this.availableImages = this.ImageService.getUniqueTagListFromImages(availableImages);
this.availableRegistries = [dockerhub].concat(registries);