From 4f350ab6f5b5123db6322c829d50086fcbf29162 Mon Sep 17 00:00:00 2001 From: cong meng Date: Tue, 19 Oct 2021 14:54:44 +1300 Subject: [PATCH] fix(registry) EE-1861 improve registry selection (#5921) * fix(registry) EE-1861 fail to select registry with same name * fix(registry) EE-1861 show registry modal when pull and push image * fix(registry) EE-1861 cleanup code Co-authored-by: Simon Meng --- .../imageRegistry/por-image-registry.html | 2 +- .../views/images/edit/imageController.js | 35 ++++++++++++----- app/portainer/services/api/registryService.js | 29 +++++++++++--- app/portainer/services/modalService.js | 11 ++++++ .../services/registryModalService.js | 39 +++++++++++++++++++ 5 files changed, 100 insertions(+), 16 deletions(-) create mode 100644 app/portainer/services/registryModalService.js diff --git a/app/docker/components/imageRegistry/por-image-registry.html b/app/docker/components/imageRegistry/por-image-registry.html index 375582a66..c89d17da5 100644 --- a/app/docker/components/imageRegistry/por-image-registry.html +++ b/app/docker/components/imageRegistry/por-image-registry.html @@ -6,7 +6,7 @@