fix: pass current offset to log route (#6329)

the current offset is lost otherwise and will cause a 404 if it was
greater than 0
This commit is contained in:
jackstar12 2024-10-27 11:12:39 +01:00 committed by GitHub
parent e7b9688602
commit c9fe68b812
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,7 @@
@foreach (var file in Model.LogFiles)
{
<li>
<a asp-action="LogsView" asp-route-file="@file.Name">@file.Name</a>
<a asp-action="LogsView" asp-route-file="@file.Name" asp-route-offset="@Model.LogFileOffset">@file.Name</a>
</li>
}
</ul>