fix(webui): check for updates only after opening About (#6397)

* fix(webui): check for updates only after opening About

* docs(agent): require meaningful behavioral test assertions
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-22 21:04:21 +08:00
1 parent eceea7b5fb
commit 6ace6068d7
8 files changed
+25 -19

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ function Controls() {
</>;
}
function view(client: NanobotClient, token = "channel-a", native = false) {
return <ClientProvider client={client} token={token} checkUpdatesOnConnect allowUpdateFlow={!native}
return <ClientProvider client={client} token={token} allowUpdateFlow={!native}
webuiCapabilities={["webui.update-channels.v1"]}>
<AboutSettings settings={settingsPayload()} /><Controls />
</ClientProvider>;