mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-23 19:30:06 +02:00
chore: some cleanup
This commit is contained in:
1 parent
1d0ab97b35
commit
8d64b59b91
1 file changed
-20
@@ -50,26 +50,6 @@ namespace WotBlitzStatisticsPro.Blazor.Pages
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task OnLoadSearchData(LoadDataArgs args)
|
|
||||||
{
|
|
||||||
if (DialogType == DialogType.FindPlayer && args.Filter.Length < 3)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
FilteredList.Clear();
|
|
||||||
await InvokeAsync(StateHasChanged);
|
|
||||||
|
|
||||||
// ToDo: Call GraphQL Backend CurrentRealmType + args.Filter
|
|
||||||
await Task.Delay(1000);
|
|
||||||
for (int i = 0; i < 15; i++)
|
|
||||||
{
|
|
||||||
FilteredList.Add(new SearchItem(i, $"Item number {i}"));
|
|
||||||
}
|
|
||||||
|
|
||||||
await InvokeAsync(StateHasChanged);
|
|
||||||
}
|
|
||||||
|
|
||||||
public async Task OnOkButtonClick()
|
public async Task OnOkButtonClick()
|
||||||
{
|
{
|
||||||
if (CurrentValue > 0)
|
if (CurrentValue > 0)
|
||||||
|
|||||||
Reference in new issue
Block a user