feat: support selective page range extraction for email attachment print previews
Build and Push Multi-Platform Images / build-and-push (push) Successful in 35s
Build and Push Multi-Platform Images / build-and-push (push) Successful in 35s
This commit is contained in:
@@ -365,8 +365,11 @@ export default function MailImportWizard({ visible, onClose, email, attachments
|
||||
printWindow.close();
|
||||
return;
|
||||
}
|
||||
|
||||
const blob = await emailImportApi.printPreview(attachmentId, barcode);
|
||||
|
||||
const item = importData.find(i => i.virtualId === virtualId);
|
||||
const pages = item?.pages;
|
||||
|
||||
const blob = await emailImportApi.printPreview(attachmentId, barcode, pages);
|
||||
const url = window.URL.createObjectURL(blob);
|
||||
|
||||
// Navigate the already open window to the PDF
|
||||
|
||||
Reference in New Issue
Block a user