fix(app/images): export images to tar (#12223)

pull/12251/head
LP B 2 months ago committed by GitHub
parent fd26565b14
commit 7d0b79a546
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -117,7 +117,7 @@ angular.module('portainer.docker').controller('ImagesController', [
$scope.state.exportInProgress = true;
ImageService.downloadImages(images)
.then(function success(data) {
var downloadData = new Blob([data.file], { type: 'application/x-tar' });
var downloadData = new Blob([data], { type: 'application/x-tar' });
FileSaver.saveAs(downloadData, 'images.tar');
Notifications.success('Success', 'Image(s) successfully downloaded');
})

Loading…
Cancel
Save