1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-01 20:05:23 +02:00

fix(app): refactor registry selector + registry auto select

This commit is contained in:
xAt0mZ 2019-11-25 19:12:46 +01:00
parent 332aa4fbf5
commit 06c63899b2
9 changed files with 26 additions and 50 deletions

View file

@ -21,7 +21,7 @@ class porImageRegistryController {
this.autoComplete ? this.ImageService.images() : []
]);
this.availableImages = this.ImageService.getUniqueTagListFromImages(availableImages);
this.availableRegistries = [dockerhub].concat(registries);
this.availableRegistries = _.concat(dockerhub, registries);
const id = this.model.Registry.Id;
if (!id) {