front
This commit is contained in:
parent
81ba27a2bb
commit
902b939695
@ -13,6 +13,11 @@
|
|||||||
let div = "";
|
let div = "";
|
||||||
teams.forEach((t) => {
|
teams.forEach((t) => {
|
||||||
div += `<div>Equipe ID${t.id} - Nom d'équipe ${t.team}</div>\n`
|
div += `<div>Equipe ID${t.id} - Nom d'équipe ${t.team}</div>\n`
|
||||||
|
div += `<ul>`
|
||||||
|
t.members.forEach((m) => {
|
||||||
|
div += `<li>${m.name}</li>`
|
||||||
|
})
|
||||||
|
div += `</ul>`
|
||||||
})
|
})
|
||||||
teamsDiv.innerHTML = div;
|
teamsDiv.innerHTML = div;
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user