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:
parent
332aa4fbf5
commit
06c63899b2
9 changed files with 26 additions and 50 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue