refactoring

This commit is contained in:
Frank Knoll
2024-07-24 21:53:00 +02:00
parent b72cdba5c6
commit be77ed5e33
4 changed files with 8 additions and 8 deletions

View File

@@ -47,11 +47,11 @@ class PageInitializer {
return prrBySymptomTableView;
}
static #configurePDFButton({ pdf: { pdfButton, heading, valueName }, symptom, vaccine }) {
static #configurePDFButton({ pdf: { pdfButton, heading, subheading }, symptom, vaccine }) {
pdfButton.addEventListener(
'click',
() => PdfCreator
.createPdf({ symptom, vaccine, heading, valueName })
.createPdf({ symptom, vaccine, heading, subheading })
.download(heading));
}
}