From b7cba4236c405b1bc454daa68883370f1a00cd1d Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 25 May 2021 16:42:04 +0200 Subject: [PATCH] fix async diario --- MP.Stats/Pages/Diario.razor.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MP.Stats/Pages/Diario.razor.cs b/MP.Stats/Pages/Diario.razor.cs index aff832fd..7d658435 100644 --- a/MP.Stats/Pages/Diario.razor.cs +++ b/MP.Stats/Pages/Diario.razor.cs @@ -158,11 +158,11 @@ namespace MP.Stats.Pages MessageService.EA_SearchUpdated -= OnSeachUpdated; } - public void OnSeachUpdated() + public async void OnSeachUpdated() { - InvokeAsync(() => + await InvokeAsync(() => { - UpdateData(); + Task task = UpdateData(); StateHasChanged(); }); }