THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

fix(registry-selector): unique images in auto suggest (#3425)

tags/1.23.0^2
xAt0mZ Anthony Lapenna 2 months ago
parent
commit
2d576394d0
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app/docker/services/imageService.js

+ 2
- 1
app/docker/services/imageService.js View File

@@ -192,7 +192,8 @@ angular.module('portainer.docker')
};

service.getUniqueTagListFromImages = function (availableImages) {
return _.flatten(_.map(availableImages, function (image) {

return _.uniq(_.flatMap(availableImages, function (image) {
_.remove(image.RepoTags, function (item) {
return item.indexOf('<none>') !== -1;
});


Loading…
Cancel
Save