fix(dashboard): mutate provider-status state inside the renderer dispatch

This commit is contained in:
Joseph Doherty
2026-08-15 20:17:07 -04:00
parent e245237c2b
commit 10406a3541
@@ -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)