We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 942de4e commit 5c8396fCopy full SHA for 5c8396f
1 file changed
ui/src/ui/app-gateway.ts
@@ -590,9 +590,11 @@ async function loadAgentsThenRefreshActiveTab(host: GatewayHost) {
590
let initialRefreshError: Error | undefined;
591
const refreshBeforeAgents = canRefreshActiveTabBeforeAgents(host);
592
const initialRefresh = refreshBeforeAgents
593
- ? refreshActiveTab(host as unknown as Parameters<typeof refreshActiveTab>[0]).catch((err: unknown) => {
594
- initialRefreshError = normalizeStartupRefreshError(err);
595
- })
+ ? refreshActiveTab(host as unknown as Parameters<typeof refreshActiveTab>[0]).catch(
+ (err: unknown) => {
+ initialRefreshError = normalizeStartupRefreshError(err);
596
+ },
597
+ )
598
: Promise.resolve();
599
let refreshAfterAgents = !refreshBeforeAgents;
600
let agentsError: Error | undefined;
0 commit comments