Skip to content

Commit 6c2dfa5

Browse files
author
Stedra Kristóf
committed
suppress not awaited method warning
1 parent 2afd809 commit 6c2dfa5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/AutSoft.Mud.Blazor/Filter/FilterRoot.razor.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ private async Task OnFieldChangedAsync()
8787
{
8888
await Task.Delay(200);
8989
await UpdateHasFilterAsync();
90-
FilterAsync();
90+
// This call is not awaited because of performance causes
91+
_ = FilterAsync();
9192
}
9293

9394
/// <summary>
@@ -172,6 +173,7 @@ public async Task ResetAsync()
172173
Model = await CreateDefaultModelAsync();
173174
await UpdateHasFilterAsync();
174175
await ModelChanged.InvokeAsync(Model);
175-
FilterAsync();
176+
// This call is not awaited because of performance causes
177+
_ = FilterAsync();
176178
}
177179
}

0 commit comments

Comments
 (0)