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

steckbriefe fix

parent 57eeef3b
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,10 @@ function createSteckbriefe(data: Array<SteckbriefInterface>){
// Jobs
var jobs = "";
for (let i = 0; i < data[index].igemjob.length; i++) {
if (i + 1 == data[index].igemjob.length ) {
if (data[index].igemjob.length == 1) {
jobs += data[index].igemjob[i]
}
else if (i + 1 == data[index].igemjob.length ) {
jobs += " and " + data[index].igemjob[i];
}
else if(i + 2 == data[index].igemjob.length){
......
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