Fixed issue Event Log strange behavior with the Paging control #1158
This commit is contained in:
parent
3ff1dc4a21
commit
b58c7386b3
|
@ -48,7 +48,7 @@ else
|
|||
|
||||
@if (_logs.Any())
|
||||
{
|
||||
<Pager Items="@_logs">
|
||||
<Pager TableItem="Log" Items="@_logs">
|
||||
<Header>
|
||||
<th style="width: 1px;"> </th>
|
||||
<th>@Localizer["Date"]</th>
|
||||
|
@ -141,6 +141,10 @@ else
|
|||
private async Task GetLogs()
|
||||
{
|
||||
_logs = await LogService.GetLogsAsync(PageState.Site.SiteId, ((_level == "-") ? string.Empty : _level), ((_function == "-") ? string.Empty : _function), int.Parse(_rows));
|
||||
await InvokeAsync(() =>
|
||||
{
|
||||
base.StateHasChanged();
|
||||
});
|
||||
}
|
||||
|
||||
private string GetClass(string function)
|
||||
|
|
Loading…
Reference in New Issue
Block a user