From 55c76db7b60ae142a1d224e4d485771d7be2b51f Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Tue, 25 Oct 2022 18:57:58 +0200 Subject: fix matches page filter params propagation --- web/pw-server/src/routes/matches/[match_id].svelte | 52 +++++++++++----------- web/pw-server/src/routes/matches/index.svelte | 12 ++++- 2 files changed, 38 insertions(+), 26 deletions(-) diff --git a/web/pw-server/src/routes/matches/[match_id].svelte b/web/pw-server/src/routes/matches/[match_id].svelte index 1d18375..bbb25e1 100644 --- a/web/pw-server/src/routes/matches/[match_id].svelte +++ b/web/pw-server/src/routes/matches/[match_id].svelte @@ -66,32 +66,34 @@
-
-
- {#if playersWithVisibleLog.length == 1} -

- player log for - {selectedPlayer.displayName} -

- {:else} - - {/if} + {#if playersWithVisibleLog.length > 0} +
+
+ {#if playersWithVisibleLog.length == 1} +

+ player log for + {selectedPlayer.displayName} +

+ {:else} + + {/if} +
+
+ +
-
- -
-
+ {/if}