fix(agents): run client detection asynchronously
This commit is contained in:
1 parent
760da899ed
commit
7f2876c1ec
2 files changed
+27
-19
No files matched your search
@@ -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) => {
|
||||
|
||||
Reference in new issue
Block a user