mirror of
https://github.com/portainer/portainer.git
synced 2025-07-30 10:49:40 +02:00
fix(docker/images): export image [EE-6807] (#11306)
This commit is contained in:
parent
ebcc98d5c5
commit
18dbad232e
3 changed files with 7 additions and 2 deletions
|
@ -171,6 +171,11 @@ angular.module('portainer.docker').factory('ImageService', [
|
|||
return Image.tag({ id: id, repo: image }).$promise;
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {Array<{tags: Array<string>; id: string;}>} images
|
||||
* @returns {Promise<unknown>}
|
||||
*/
|
||||
service.downloadImages = function (images) {
|
||||
var names = ImageHelper.getImagesNamesForDownload(images);
|
||||
return Image.download(names).$promise;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue