refactoring

This commit is contained in:
frankknoll
2023-10-15 13:55:50 +02:00
parent 893d4a38b9
commit d3acdd66f4
12 changed files with 70 additions and 43 deletions

View File

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