handlich vaccines in UI

This commit is contained in:
frankknoll
2023-10-13 20:57:18 +02:00
parent f28ee6e400
commit 7b78a6f449
7 changed files with 259 additions and 17 deletions

View File

@@ -0,0 +1,15 @@
class PrrBySymptomTableView {
#prrBySymptomTable;
constructor(prrBySymptomTableElement) {
this.#prrBySymptomTable = new PrrBySymptomTable(prrBySymptomTableElement);
this.#prrBySymptomTable.initialize();
}
displayPrrBySymptomTable4Vaccine(vaccine) {
PrrByVaccineProvider
.getPrrBySymptom(vaccine)
.then(prrBySymptom => this.#prrBySymptomTable.display(prrBySymptom));
}
}