Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update Index.razor filenaming fix #37

Merged
merged 1 commit into from
Jul 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions BasketLeague2.App/Pages/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Bienvenido a la mejor liga de basket del mundo

private async Task GetResults()
{
var r = await Http.GetFromJsonAsync<IEnumerable<Result>>("data/results/S2.json");
var r = await Http.GetFromJsonAsync<IEnumerable<Result>>("data/results/R_S2.json");
_results = _results.Concat(r);
}

Expand All @@ -98,4 +98,4 @@ Bienvenido a la mejor liga de basket del mundo
_equipo4 = _results.GroupBy(r => r.Equipo2).Select(r => new Team { NombreCompleto = _teams.First(t => t.Codigo == int.Parse(r.First().Equipo2)).NombreCompleto, DIF = r.Sum(r => r.Resultado1) }).MinBy(r => r.DIF);
}

}
}