fix(events): load system events on page refresh in ops view

Events were only loaded when switching to config view, but the
system events panel lives in ops view, leaving it empty on refresh.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
caoqianming 2026-03-26 10:41:27 +08:00
parent 4338895e0a
commit 8e52a327f5
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ async function bootstrap() {
renderChart();
startPointSocket();
await withStatus(loadUnits());
await withStatus(Promise.all([loadUnits(), loadEvents()]));
startOps();
}