making PDF button download generated PDF file

This commit is contained in:
Frank Knoll
2024-07-16 13:18:40 +02:00
parent 0e595dda1b
commit ae6f1430c6

View File

@@ -52,6 +52,6 @@ class PageInitializer {
'click', 'click',
() => PdfCreator () => PdfCreator
.createPdf({ symptom, vaccine, heading, valueName }) .createPdf({ symptom, vaccine, heading, valueName })
.open()); .download(heading));
} }
} }