replacing "Worst Drugs" with "Associated Drugs"
This commit is contained in:
@@ -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)
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user