diff --git a/src/contents/team.tsx b/src/contents/team.tsx index 865f45ecb6e35060db175d8ee8df4de00467fdfe..7c4b16983db8edbc7cefda3febd0637219a54991 100644 --- a/src/contents/team.tsx +++ b/src/contents/team.tsx @@ -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){