mirror of https://github.com/portainer/portainer
fix(registry-selector): unique images in auto suggest (#3425)
parent
f79dae3e27
commit
2d576394d0
|
@ -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…
Reference in New Issue