fix(pdf): add missing .save() call to trigger file download

html2pdf().from().set() only configures, .save() actually triggers
the browser download dialog.
This commit is contained in:
Local Build committed 2026-08-13 20:56:02 +02:00
1 parent 1b53e67d90
commit 7170b8a5fa
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -922,7 +922,7 @@
image: { type: 'jpeg', quality: 0.95 },
html2canvas: { scale: 2, useCORS: true, backgroundColor: '#fff' },
jsPDF: { unit: 'mm', format: 'a4', orientation: 'portrait' }
});
}).save();
})
.then(function (result) {
console.log('[PDF] step 5: generation COMPLETE, result:', result);