From 6a39dc214a877515bc2d5494b5975b513f4c1628 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Sun, 17 Apr 2022 20:58:21 +0200 Subject: show player names in visualizer --- web/pw-server/src/routes/index.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'web/pw-server/src/routes/index.svelte') 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} -- cgit v1.2.3