-
+ {#each matchData["players"] as player, i}
+
- {player["bot_name"] || "player"} + {/each} +
0 / 0
@@ -70,4 +87,16 @@
diff --git a/web/pw-server/src/routes/index.svelte b/web/pw-server/src/routes/index.svelte
index 984910e..055112a 100644
--- a/web/pw-server/src/routes/index.svelte
+++ b/web/pw-server/src/routes/index.svelte
@@ -128,6 +128,8 @@
return timestamp.toFormat("dd/MM");
}
}
+
+ $: selectedMatch = matches.find((m) => m["id"] === selectedMatchId);
@@ -165,7 +167,7 @@
{#if viewMode === ViewMode.MatchVisualizer}
-
+
{:else if viewMode === ViewMode.Editor}
{:else if viewMode === ViewMode.Rules}