Skip to content
Snippets Groups Projects
Commit a9a22a27 authored by Liliana Sanfilippo's avatar Liliana Sanfilippo
Browse files

<ul>{examplelist}</ul>

parent 8eb57a3c
No related branches found
No related tags found
No related merge requests found
Pipeline #443642 passed
...@@ -528,7 +528,7 @@ function createSymptomSteckbrief(data: SymptomDatensatz){ ...@@ -528,7 +528,7 @@ function createSymptomSteckbrief(data: SymptomDatensatz){
let absaetze = [] let absaetze = []
for (let i = 0; i < data.subsections[index].text.length; i++) { for (let i = 0; i < data.subsections[index].text.length; i++) {
absaetze.push( absaetze.push(
<p>{data.subsections[index].text[i]}</p> <li>{data.subsections[index].text[i]}</li>
) )
} }
examplelist.push( examplelist.push(
...@@ -553,8 +553,7 @@ function createSymptomSteckbrief(data: SymptomDatensatz){ ...@@ -553,8 +553,7 @@ function createSymptomSteckbrief(data: SymptomDatensatz){
</div> </div>
<div className="col"> <div className="col">
<ul>{examplelist}</ul>
{examplelist}
</div> </div>
</div> </div>
) )
...@@ -567,7 +566,7 @@ function createDrugSteckbrief(data: DrugDatensatz){ ...@@ -567,7 +566,7 @@ function createDrugSteckbrief(data: DrugDatensatz){
let absaetze = [] let absaetze = []
for (let i = 0; i < data.examples[index].text.length; i++) { for (let i = 0; i < data.examples[index].text.length; i++) {
absaetze.push( absaetze.push(
<p>{data.examples[index].text[i]}</p> <li>{data.examples[index].text[i]}</li>
) )
} }
...@@ -593,7 +592,7 @@ function createDrugSteckbrief(data: DrugDatensatz){ ...@@ -593,7 +592,7 @@ function createDrugSteckbrief(data: DrugDatensatz){
</div> </div>
</div> </div>
<div className="col"> <div className="col">
{examplelist} <ul>{examplelist}</ul>
</div> </div>
</div> </div>
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment