Levels can have spaces in them

This commit is contained in:
Slendy 2022-02-12 02:23:38 -06:00
commit 93a5a00a18

View file

@ -32,7 +32,7 @@ public class SlotsPage : BaseLayout
{
if (string.IsNullOrWhiteSpace(name)) name = "";
this.SearchValue = name.Replace(" ", string.Empty);
this.SearchValue = name.Trim();
this.SlotCount = await this.Database.Slots.CountAsync(p => p.Name.Contains(this.SearchValue));