Various fixes and cleanup, regressions from prior commits.

This commit is contained in:
Leo Vasanko
2025-12-03 15:40:59 -06:00
parent 6a7b1a876e
commit 7a70c933c9
10 changed files with 87 additions and 67 deletions
+2
View File
@@ -315,6 +315,8 @@ export function shouldShowErrorToast(error) {
// Don't show toast for user cancellations
if (error instanceof AuthCancelledError) return false
if (error.name === 'AbortError') return false
// Don't show toast for 401/403 errors - the auth iframe will handle these
if (error instanceof ApiError && (error.status === 401 || error.status === 403)) return false
return true
}