IO-1653 Include Other images when downloading
This commit is contained in:
@@ -36,7 +36,7 @@ export function JobsDocumentsDownloadButton({
|
|||||||
);
|
);
|
||||||
const imagesToDownload = [
|
const imagesToDownload = [
|
||||||
...galleryImages.images.filter((image) => image.isSelected),
|
...galleryImages.images.filter((image) => image.isSelected),
|
||||||
// ...galleryImages.other.filter((image) => image.isSelected),
|
...galleryImages.other.filter((image) => image.isSelected),
|
||||||
];
|
];
|
||||||
|
|
||||||
function downloadProgress(progressEvent) {
|
function downloadProgress(progressEvent) {
|
||||||
@@ -123,6 +123,7 @@ export function JobsDocumentsDownloadButton({
|
|||||||
a.click();
|
a.click();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
console.log("🚀 ~ file: jobs-document-gallery.download.component.jsx ~ line 131 ~ imagesToDownload", imagesToDownload)
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Reference in New Issue
Block a user