1
0

add key to sessions list

This commit is contained in:
Adrian Wannenmacher 2026-03-09 21:35:43 +01:00
parent 0b539b910f
commit 85b7c1530c
Signed by: tfld
GPG Key ID: 19D986ECB1E492D5

View File

@ -10,7 +10,7 @@ export default class SessionList {
models.length === 0 models.length === 0
? m("li.item.-text._alternate._apply", "Du hast no koane Sätz…") ? m("li.item.-text._alternate._apply", "Du hast no koane Sätz…")
: null, : null,
models.map((s, i) => m("li.item._alternate._apply", [ models.map((s, i) => m("li.item._alternate._apply", { key: s.id }, [
m("span.theirname", s.theirTeam !== "" ? s.theirTeam : "Se"), m("span.theirname", s.theirTeam !== "" ? s.theirTeam : "Se"),
m("span.ourname", s.ourTeam !== "" ? s.ourTeam : "Mia"), m("span.ourname", s.ourTeam !== "" ? s.ourTeam : "Mia"),
m("span.theirpoints", "•".repeat(s.result.theirPoints)), m("span.theirpoints", "•".repeat(s.result.theirPoints)),