From 49a5735e07e7868195590a13c247698aaa1c5358 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Sat, 27 Aug 2022 17:41:32 +0200 Subject: show map info for matches --- web/pw-server/src/lib/components/matches/MatchList.svelte | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'web/pw-server/src/lib/components/matches') diff --git a/web/pw-server/src/lib/components/matches/MatchList.svelte b/web/pw-server/src/lib/components/matches/MatchList.svelte index 01a0b82..e38543e 100644 --- a/web/pw-server/src/lib/components/matches/MatchList.svelte +++ b/web/pw-server/src/lib/components/matches/MatchList.svelte @@ -16,6 +16,7 @@ player 2 + map {#each matches as match} goto(match_url(match))}> @@ -38,6 +39,9 @@ {match["players"][1]["bot_name"]} + + {match["map"]?.name || ""} + {/each} @@ -84,6 +88,10 @@ text-align: left; } + .col-map { + text-align: right; + } + .matches-table { margin: 12px auto; border-collapse: collapse; -- cgit v1.2.3