Invalidate UI on approval queue changes

This commit is contained in:
Joe Julian
2026-04-11 09:53:23 -07:00
parent 2ef571c241
commit 852c115b2a
3 changed files with 50 additions and 0 deletions
+1
View File
@@ -76,6 +76,7 @@ func run(w *app.Window, mode string, paths statePaths, grpcAddr string) error {
ui.state.AuditLog = ui.auditLog
ui.grpcAddress = host.Address()
ui.state.Approvals = &uiApprovalManager{server: host.Server()}
host.Server().ApprovalBroker().SetChangeNotifier(ui.invalidate)
defer func() { _ = host.Stop() }()
}
for {