updating wording of UI

This commit is contained in:
frankknoll
2023-11-07 17:57:29 +01:00
parent 2f05786be6
commit 77e37685c4
4 changed files with 13839 additions and 139 deletions

File diff suppressed because one or more lines are too long

View File

@@ -17,7 +17,8 @@ class PrrByKeyTableView {
displayPrrByKeyTable4Value(value) {
UIUtils.disableButton(this.#downloadPrrByKeyTableButton);
this.#prrByKeyProvider(value)
.then(prrByKey => {
.then(
prrByKey => {
this.#value = value;
this.#prrByKeyTable.display(prrByKey);
UIUtils.enableButton(this.#downloadPrrByKeyTableButton);

View File

@@ -1,10 +1,10 @@
class PrrByVaccineProvider {
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) {
return fetch(`../data/ProportionalReportingRatios/vaccines/${vaccine}.json`).then(response => response.json());
return fetch(`../data/SymptomsCausedByCOVIDLots/ProportionalReportingRatios/vaccines/${vaccine}.json`).then(response => response.json());
}
}

View File

@@ -17,7 +17,7 @@ class PrrByVaccineTableView {
#createPrrByVaccineTable(tableElement) {
return new PrrByKeyTable({
tableElement: tableElement,
keyColumnName: 'Vaccine',
keyColumnName: 'Batch',
prrColumnName: 'Proportional Reporting Ratio',
shallMarkRowIfPrrTooHigh: true
});