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:
parent
fd3187abc8
commit
c183cb53aa
6 changed files with 47 additions and 49 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue