From 281ea155508aab4dfc2e02bb1223c9cd812f6c75 Mon Sep 17 00:00:00 2001 From: jjjojoj <88077783+jjjojoj@users.noreply.github.com> Date: Sat, 4 Apr 2026 10:49:00 +0800 Subject: [PATCH] fix: narrow queryTokenHint guard to only auth-specific errors, remove overly broad connect failed check --- ui/src/ui/views/overview.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ui/src/ui/views/overview.ts b/ui/src/ui/views/overview.ts index 01b08192355..58a20e475b9 100644 --- a/ui/src/ui/views/overview.ts +++ b/ui/src/ui/views/overview.ts @@ -197,10 +197,7 @@ export function renderOverview(props: OverviewProps) { return null; } const lower = props.lastError.toLowerCase(); - const authFailed = - lower.includes("unauthorized") || - lower.includes("connect failed") || - lower.includes("device identity required"); + const authFailed = lower.includes("unauthorized") || lower.includes("device identity required"); if (!authFailed) { return null; }