Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #32 from Zaxiure/add_totals_of_all_matches_to_dash…
Browse files Browse the repository at this point in the history
…board

Fixed problem with matches not opening
  • Loading branch information
Zaxiure authored Nov 27, 2022
2 parents d1e5904 + 96f5f6b commit 494f29d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
4 changes: 0 additions & 4 deletions HuntStats/Pages/Index.razor
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
@page "/"
@using System.Diagnostics
@using System.ComponentModel
@using Dapper
@using Dommel
@using HuntStats.Data
@using HuntStats.Features
@using HuntStats.Features.ChartHandlers
Expand Down
28 changes: 17 additions & 11 deletions HuntStats/Pages/Match.razor
Original file line number Diff line number Diff line change
Expand Up @@ -279,17 +279,23 @@
}
@foreach (var entry in Entries.Where(x => x.Category == "accolade_players_killed"))
{
<tr>
<td>
Kill @entry.DescriptorName.Split(" ")[4] star player
</td>
<td>
@entry.Amount
</td>
<td>
@entry.RewardSize
</td>
</tr>
if (!entry.DescriptorName.Contains("resurrected"))
{
<tr>
<td>
@if (entry.DescriptorName.Split(" ").Length == 6)
{
@("Kill " + entry.DescriptorName.Split(" ")[4] + " star player")
}
</td>
<td>
@entry.Amount
</td>
<td>
@entry.RewardSize
</td>
</tr>
}
}
@foreach (var entry in RemainingEntries)
{
Expand Down

0 comments on commit 494f29d

Please sign in to comment.