fix(dashboard): mutate provider-status state inside the renderer dispatch
This commit is contained in:
@@ -207,8 +207,11 @@
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
_providerStatus = DashboardAlarmProviderStatus.FromFeed(message);
|
await InvokeAsync(() =>
|
||||||
await InvokeAsync(StateHasChanged).ConfigureAwait(false);
|
{
|
||||||
|
_providerStatus = DashboardAlarmProviderStatus.FromFeed(message);
|
||||||
|
StateHasChanged();
|
||||||
|
}).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (OperationCanceledException)
|
catch (OperationCanceledException)
|
||||||
|
|||||||
Reference in New Issue
Block a user