fix(agents): run client detection asynchronously

This commit is contained in:
lzt404 committed 2026-08-05 13:53:32 +08:00
1 parent 760da899ed
commit 7f2876c1ec
2 files changed
+27 -19

No files matched your search

+1 -1
View File
@@ -651,7 +651,7 @@ export function AgentsPage() {
void listen('config-files-changed', () => {
if (disposed) return;
setDetectionError('');
void loadStatuses(true).catch((requestError) => {
void loadStatuses().catch((requestError) => {
if (!disposed) setDetectionError(String(requestError));
});
}).then((unlisten) => {