refactoring
This commit is contained in:
@@ -2,7 +2,6 @@ class PrrByVaccineTableView {
|
|||||||
|
|
||||||
#prrByVaccineTable;
|
#prrByVaccineTable;
|
||||||
#downloadPrrByVaccineTableButton;
|
#downloadPrrByVaccineTableButton;
|
||||||
#prrByVaccine;
|
|
||||||
#symptom;
|
#symptom;
|
||||||
|
|
||||||
constructor(prrByVaccineTableElement, downloadPrrByVaccineTableButton) {
|
constructor(prrByVaccineTableElement, downloadPrrByVaccineTableButton) {
|
||||||
@@ -16,7 +15,6 @@ class PrrByVaccineTableView {
|
|||||||
PrrByVaccineProvider
|
PrrByVaccineProvider
|
||||||
.getPrrByVaccine(symptom)
|
.getPrrByVaccine(symptom)
|
||||||
.then(prrByVaccine => {
|
.then(prrByVaccine => {
|
||||||
this.#prrByVaccine = prrByVaccine;
|
|
||||||
this.#symptom = symptom;
|
this.#symptom = symptom;
|
||||||
this.#prrByVaccineTable.display(prrByVaccine);
|
this.#prrByVaccineTable.display(prrByVaccine);
|
||||||
UIUtils.enableButton(this.#downloadPrrByVaccineTableButton);
|
UIUtils.enableButton(this.#downloadPrrByVaccineTableButton);
|
||||||
|
|||||||
Reference in New Issue
Block a user