Skip to content

Commit

Permalink
- nulable is fixed in user.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadyNagy committed Jul 30, 2024
1 parent 137e0e1 commit 10f7b96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/DevBetterWeb.Web/Pages/Admin/User.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
<div class="row" style="margin-top: 20px;">
<div class="col-12">
<form asp-page-handler="UpdateLinks">
<input type="hidden" name="userId" value="@Model.UserLinksUpdateModel.UserId" />
<input type="hidden" name="userId" value="@Model!.UserLinksUpdateModel.UserId" />
<div class="card">
<div class="card-header">
<b>Links</b>
Expand Down Expand Up @@ -323,7 +323,7 @@
</tr>
</thead>
<tbody>
@foreach (var item in Model.Invoices)
@foreach (var item in Model!.Invoices)
{
<tr>
<td>
Expand Down
2 changes: 1 addition & 1 deletion src/DevBetterWeb.Web/Pages/Admin/User.cshtml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public async Task<IActionResult> OnGetAsync(string userId)

AddressHistory = member.AddressHistory.OrderByDescending(a => a.UpdatedOn).Select(a => new AddressHistoryViewModel
{
Address = a.Address.ToString(),
Address = a.Address!.ToString(),
UpdatedOn = a.UpdatedOn
}).ToList();

Expand Down

0 comments on commit 10f7b96

Please sign in to comment.