Merge pull request #118 from fileman/PagerFix

Pager - Solution for the double click required to update the items
This commit is contained in:
Shaun Walker 2019-10-08 18:36:10 -04:00 committed by GitHub
commit fd31fa078f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@
public void UpdateList(int CurrentPage)
{
ItemList = Items.Skip((Page - 1) * MaxItems).Take(MaxItems);
ItemList = Items.Skip((CurrentPage - 1) * MaxItems).Take(MaxItems);
Page = CurrentPage;
StateHasChanged();
}