fix
This commit is contained in:
parent
c9b5db7d4b
commit
4471903430
@ -54,15 +54,7 @@
|
||||
</table>
|
||||
<div class="d-flex justify-content-center align-items-center">
|
||||
@{
|
||||
int page;
|
||||
if (Context.Request.Query.TryGetValue("page", out var pageValue) && !string.IsNullOrEmpty(pageValue))
|
||||
{
|
||||
page = int.Parse(pageValue);
|
||||
}
|
||||
else
|
||||
{
|
||||
page = 1;
|
||||
}
|
||||
int page = int.Parse(Context.Request.Query["page"]);
|
||||
<div class="m-1">
|
||||
<input type="number" class="form-control" min="1" step="1" asp-action="Mails" name="page" value="@(page)" readonly>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user