mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-09-26 03:09:06 +00:00
Levels can have spaces in them
This commit is contained in:
parent
aacc2d5eaf
commit
93a5a00a18
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ public class SlotsPage : BaseLayout
|
||||||
{
|
{
|
||||||
if (string.IsNullOrWhiteSpace(name)) name = "";
|
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));
|
this.SlotCount = await this.Database.Slots.CountAsync(p => p.Name.Contains(this.SearchValue));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue