diff --git a/website/Pages/PlayerSimilar.razor b/website/Pages/PlayerSimilar.razor index e13929c..246ff4c 100644 --- a/website/Pages/PlayerSimilar.razor +++ b/website/Pages/PlayerSimilar.razor @@ -39,7 +39,7 @@
@if (!ready) - { + {

Loading...

@@ -49,7 +49,7 @@

Player Similarity

- Vector Search based on Scores, Speed and Acceleration + Vector Search based on Scores & Speed

@_errorMessage @@ -214,7 +214,7 @@ class="btn btn-block center">View JSON data

- + rec = SimilarByStats[1]; chartUrl = ChartsUrl.CreateSimilarUrl(_atlasChartIdSimilar, rec.Id); @@ -276,7 +277,6 @@ } - } @@ -288,7 +288,7 @@ private List? Similar { get; set; } = new(); private List? SimilarByStats { get; set; } = new(); private List? SimilarBySpeed { get; set; } = new(); - private List? SimilarByAccel { get; set; } = new(); + //private List? SimilarByAccel { get; set; } = new(); private SimilarRecording? rec; private string chartUrl = string.Empty; @@ -329,10 +329,10 @@ string similarByStatsUrlWithQuery = UrlHelper.BuildUrlWithQuery(Constants.RestServiceEndpointRecordingsSimilarByStats, playerFilter); SimilarByStats = await _restClient.GetJsonAsync>(similarByStatsUrlWithQuery); // by acceleration - string similarByAccelUrlWithQuery = UrlHelper.BuildUrlWithQuery(Constants.RestServiceEndpointRecordingsSimilarByAccel, playerFilter); - SimilarByAccel = await _restClient.GetJsonAsync>(similarByAccelUrlWithQuery); + //string similarByAccelUrlWithQuery = UrlHelper.BuildUrlWithQuery(Constants.RestServiceEndpointRecordingsSimilarByAccel, playerFilter); + //SimilarByAccel = await _restClient.GetJsonAsync>(similarByAccelUrlWithQuery); - ready = _player != null && Similar != null && SimilarByStats != null && SimilarBySpeed != null && SimilarByAccel != null; + ready = _player != null && Similar != null && SimilarByStats != null && SimilarBySpeed != null; //&& SimilarByAccel != null; DotEnv.Load(); var envVars = DotEnv.Read();