Added ability to install modules and skins at run-time directly from Nuget

This commit is contained in:
Shaun Walker
2019-10-04 16:21:05 -04:00
parent 12c73decd0
commit a8cbfb711e
12 changed files with 341 additions and 19 deletions

View File

@ -43,7 +43,7 @@
</p>
@code {
int Pages;
int Pages = 0;
int Page;
int MaxItems;
int MaxPages;
@ -87,8 +87,11 @@
}
Page = 1;
ItemList = Items.Skip((Page - 1) * MaxItems).Take(MaxItems);
Pages = (int)Math.Ceiling(Items.Count() / (decimal)MaxItems);
if (Items != null)
{
ItemList = Items.Skip((Page - 1) * MaxItems).Take(MaxItems);
Pages = (int)Math.Ceiling(Items.Count() / (decimal)MaxItems);
}
SetPagerSize("forward");
}