diff --git a/src/GmRelay.Web/Components/Pages/GroupStats.razor b/src/GmRelay.Web/Components/Pages/GroupStats.razor index c8d386b..43ea763 100644 --- a/src/GmRelay.Web/Components/Pages/GroupStats.razor +++ b/src/GmRelay.Web/Components/Pages/GroupStats.razor @@ -3,6 +3,7 @@ @using GmRelay.Shared.Domain @using Microsoft.AspNetCore.Authorization @using Microsoft.AspNetCore.Components.Authorization +@using System.Security.Claims @attribute [Authorize] @inject ISessionStore SessionStore @inject AuthenticationStateProvider AuthStateProvider @@ -67,14 +68,14 @@
| SortBy("player")" style="cursor:pointer;">Игрок @(SortIndicator("player")) | -SortBy("total")" style="cursor:pointer;text-align:center;">Всего @(SortIndicator("total")) | -SortBy("confirmed")" style="cursor:pointer;text-align:center;">✅ @(SortIndicator("confirmed")) | -SortBy("declined")" style="cursor:pointer;text-align:center;">❌ @(SortIndicator("declined")) | -SortBy("noresponse")" style="cursor:pointer;text-align:center;">💤 @(SortIndicator("noresponse")) | -SortBy("waitlist")" style="cursor:pointer;text-align:center;">⏳ @(SortIndicator("waitlist")) | -SortBy("rate")" style="cursor:pointer;text-align:center;">% @(SortIndicator("rate")) | -SortBy("cancelled")" style="cursor:pointer;text-align:center;">🚫 @(SortIndicator("cancelled")) | +SortBy("player"))" style="cursor:pointer;" class="sortable">Игрок @(sortColumn == "player" ? (sortDesc ? "▼" : "▲") : "") | +SortBy("total"))" style="cursor:pointer; text-align:center;" class="sortable">Всего @(sortColumn == "total" ? (sortDesc ? "▼" : "▲") : "") | +SortBy("confirmed"))" style="cursor:pointer; text-align:center;" class="sortable">✅ @(sortColumn == "confirmed" ? (sortDesc ? "▼" : "▲") : "") | +SortBy("declined"))" style="cursor:pointer; text-align:center;" class="sortable">❌ @(sortColumn == "declined" ? (sortDesc ? "▼" : "▲") : "") | +SortBy("noresponse"))" style="cursor:pointer; text-align:center;" class="sortable">💤 @(sortColumn == "noresponse" ? (sortDesc ? "▼" : "▲") : "") | +SortBy("waitlist"))" style="cursor:pointer; text-align:center;" class="sortable">⏳ @(sortColumn == "waitlist" ? (sortDesc ? "▼" : "▲") : "") | +SortBy("rate"))" style="cursor:pointer; text-align:center;" class="sortable">% @(sortColumn == "rate" ? (sortDesc ? "▼" : "▲") : "") | +SortBy("cancelled"))" style="cursor:pointer; text-align:center;" class="sortable">🚫 @(sortColumn == "cancelled" ? (sortDesc ? "▼" : "▲") : "") |
|---|