replacing "Worst Drugs" with "Associated Drugs"

This commit is contained in:
Frank Knoll
2024-07-24 09:45:35 +02:00
parent 6a575ae033
commit a9aa0eb82e
2 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ class PdfCreator {
content: [
PdfCreator.#getPageHeading(heading),
{ text: 'By Craig Paardekooper', alignment: 'center', margin: [0, 0, 0, 20] },
...PdfCreator.#getWorstDrugsSection(symptom, valueName),
...PdfCreator.#getAssociatedDrugsSection(symptom, valueName),
...PdfCreator.#getStrongestSymptomsSection(vaccine),
PdfCreator.#link2Origin(heading)
]
@@ -26,9 +26,9 @@ class PdfCreator {
};
}
static #getWorstDrugsSection({ selectElement, table }, valueName) {
static #getAssociatedDrugsSection({ selectElement, table }, valueName) {
return [
PdfCreator.#getHeading(`Worst ${valueName} for "${PdfCreator.#getSelection(selectElement)}"`),
PdfCreator.#getHeading(`Associated ${valueName} for "${PdfCreator.#getSelection(selectElement)}"`),
PdfCreator.#getTable(table, true)
];
}

View File

@@ -97,7 +97,7 @@
<div class="col-xs-12 col-sm-6">
<div class="x_panel">
<div class="x_title">
<h3>Worst Vaccines</h3>
<h3>Associated Vaccines</h3>
<div class="clearfix"></div>
</div>
<div class="x_content">