Skip to content

Commit 93c485a

Browse files
authored
Fix bug about ready for check in and checked in count messed up (#2033)
1 parent 9eb0f01 commit 93c485a

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

src/JoinRpg.Portal/Controllers/GameGroupsController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ protected string GetFullyQualifiedUri([AspMvcAction]
497497

498498
private bool IsClientCached(DateTime contentModified)
499499
{
500-
string header = Request.Headers["If-Modified-Since"];
500+
string? header = Request.Headers["If-Modified-Since"];
501501

502502
if (header == null)
503503
{

src/JoinRpg.Web.CheckIn/CheckInStats.razor

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77
@if (!Loaded)
88
{
9-
<JoinRpg.WebComponents.JoinLoadingMessage />
9+
<JoinLoadingMessage />
1010
return;
1111
}
1212

1313
<div class="h1">
14-
Осталось зарегистрировать: @Model.CheckedInCount
14+
Осталось зарегистрировать: @Model.ReadyForCheckInCount
1515
<br />
16-
Прошло регистрацию: @Model.ReadyForCheckInCount
16+
Прошло регистрацию: @Model.CheckedInCount
1717
</div>
1818

1919
@code {
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@using Microsoft.AspNetCore.Components.Web
2+
@using JoinRpg.WebComponents
3+
@using Microsoft.Extensions.Logging

0 commit comments

Comments
 (0)