From f9e7f77c86ee5f9952c8c68ff1a1483d794757a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sig=20Narv=C3=A1ez?= Date: Mon, 18 Mar 2024 13:07:29 -0700 Subject: [PATCH] Fixes for conference --- website/Pages/Index.razor | 2 +- website/Pages/PlayerHome.razor | 2 +- website/Pages/PlayerSimilar.razor | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/website/Pages/Index.razor b/website/Pages/Index.razor index fc5ba51..62e0523 100644 --- a/website/Pages/Index.razor +++ b/website/Pages/Index.razor @@ -124,7 +124,7 @@ Register diff --git a/website/Pages/PlayerHome.razor b/website/Pages/PlayerHome.razor index 767df7f..7f8f1a9 100644 --- a/website/Pages/PlayerHome.razor +++ b/website/Pages/PlayerHome.razor @@ -118,7 +118,7 @@
    - View Similar Players to @Player.Name + View Similar Players to @Player.Name    
diff --git a/website/Pages/PlayerSimilar.razor b/website/Pages/PlayerSimilar.razor index 90f312f..8e069c6 100644 --- a/website/Pages/PlayerSimilar.razor +++ b/website/Pages/PlayerSimilar.razor @@ -25,7 +25,9 @@ } -logo + + logo +
Solution @@ -153,6 +155,8 @@ @code { + private string _eventId = string.Empty; + private Player Player { get; set; } = new(); private List Similar { get; set; } = new(); private List SimilarBySpeed { get; set; } = new(); @@ -173,6 +177,7 @@ var queryParameters = UrlHelper.GetParameters(NavigationManager.Uri); _name = queryParameters[Constants.QueryParameterName]; + _eventId = queryParameters[Constants.QueryParameterEventId]; var playerFilter = new Dictionary { { "name", _name }