refactoring

This commit is contained in:
Frank Knoll
2024-07-12 10:41:01 +02:00
parent d8b23880e2
commit a7e88bcce0
8 changed files with 4240 additions and 154 deletions

View File

@@ -2,11 +2,11 @@ class PrrBySymptomTableView {
#delegate;
constructor(prrBySymptomTableElement, downloadPrrBySymptomTableButton) {
constructor(prrBySymptomTableElement, downloadPrrBySymptomTableButton, valueName) {
this.#delegate = new PrrByKeyTableView(
this.#createPrrBySymptomTable(prrBySymptomTableElement),
downloadPrrBySymptomTableButton,
'Vaccine',
valueName,
PrrByVaccineProvider.getPrrBySymptom);
}