refactoring

This commit is contained in:
frankknoll
2023-10-15 14:55:10 +02:00
parent ae425cf723
commit d3589104ea
2 changed files with 15 additions and 11 deletions

View File

@@ -35,17 +35,7 @@ class PrrByVaccineTableView {
UIUtils.downloadUrlAsFilename(
window.URL.createObjectURL(
new Blob(
[
PrrByKey2CsvConverter.convertPrrByKey2Csv(
{
heading: '# Symptom: ' + this.#symptom,
columns: {
keyColumn: 'Vaccine',
prrColumn: 'Proportional Reporting Ratio'
},
prrByKey: this.#prrByVaccine
})
],
[this.#prrByVaccineTable.getDisplayedTableAsCsv('# Symptom: ' + this.#symptom)],
{ type: 'text/csv' })),
this.#symptom
);