updating wording of UI
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -17,11 +17,12 @@ class PrrByKeyTableView {
|
|||||||
displayPrrByKeyTable4Value(value) {
|
displayPrrByKeyTable4Value(value) {
|
||||||
UIUtils.disableButton(this.#downloadPrrByKeyTableButton);
|
UIUtils.disableButton(this.#downloadPrrByKeyTableButton);
|
||||||
this.#prrByKeyProvider(value)
|
this.#prrByKeyProvider(value)
|
||||||
.then(prrByKey => {
|
.then(
|
||||||
this.#value = value;
|
prrByKey => {
|
||||||
this.#prrByKeyTable.display(prrByKey);
|
this.#value = value;
|
||||||
UIUtils.enableButton(this.#downloadPrrByKeyTableButton);
|
this.#prrByKeyTable.display(prrByKey);
|
||||||
});
|
UIUtils.enableButton(this.#downloadPrrByKeyTableButton);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
#initializeButton(downloadPrrByKeyTableButton) {
|
#initializeButton(downloadPrrByKeyTableButton) {
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
class PrrByVaccineProvider {
|
class PrrByVaccineProvider {
|
||||||
|
|
||||||
static getPrrByVaccine(symptom) {
|
static getPrrByVaccine(symptom) {
|
||||||
return fetch(`../data/ProportionalReportingRatios/symptoms/${symptom}.json`).then(response => response.json());
|
return fetch(`../data/SymptomsCausedByCOVIDLots/ProportionalReportingRatios/symptoms/${symptom}.json`).then(response => response.json());
|
||||||
}
|
}
|
||||||
|
|
||||||
static getPrrBySymptom(vaccine) {
|
static getPrrBySymptom(vaccine) {
|
||||||
return fetch(`../data/ProportionalReportingRatios/vaccines/${vaccine}.json`).then(response => response.json());
|
return fetch(`../data/SymptomsCausedByCOVIDLots/ProportionalReportingRatios/vaccines/${vaccine}.json`).then(response => response.json());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -17,7 +17,7 @@ class PrrByVaccineTableView {
|
|||||||
#createPrrByVaccineTable(tableElement) {
|
#createPrrByVaccineTable(tableElement) {
|
||||||
return new PrrByKeyTable({
|
return new PrrByKeyTable({
|
||||||
tableElement: tableElement,
|
tableElement: tableElement,
|
||||||
keyColumnName: 'Vaccine',
|
keyColumnName: 'Batch',
|
||||||
prrColumnName: 'Proportional Reporting Ratio',
|
prrColumnName: 'Proportional Reporting Ratio',
|
||||||
shallMarkRowIfPrrTooHigh: true
|
shallMarkRowIfPrrTooHigh: true
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user