From 85b7c1530cba13f31f07b22d836df7de9c397b1c Mon Sep 17 00:00:00 2001 From: Adrian Wannenmacher Date: Mon, 9 Mar 2026 21:35:43 +0100 Subject: [PATCH] add key to sessions list --- ui/session_list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/session_list.js b/ui/session_list.js index 96f68b8..e55afbd 100644 --- a/ui/session_list.js +++ b/ui/session_list.js @@ -10,7 +10,7 @@ export default class SessionList { models.length === 0 ? m("li.item.-text._alternate._apply", "Du hast no koane Sätz…") : 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.ourname", s.ourTeam !== "" ? s.ourTeam : "Mia"), m("span.theirpoints", "•".repeat(s.result.theirPoints)),