From 7a33f610c68c14076719128827cfb8b5455c5a1e Mon Sep 17 00:00:00 2001 From: alma Date: Tue, 29 Apr 2025 10:19:22 +0200 Subject: [PATCH] courrier multi account restore compose --- app/courrier/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/courrier/page.tsx b/app/courrier/page.tsx index 53b9d477..98607d70 100644 --- a/app/courrier/page.tsx +++ b/app/courrier/page.tsx @@ -407,8 +407,8 @@ export default function CourrierPage() { // Auto-select the first account if available if (updatedAccounts.length > 0) { - // Get first real account (not "All Accounts") - const firstAccount = updatedAccounts.length > 1 ? updatedAccounts[1] : updatedAccounts[0]; + // Get first real account (index 0) + const firstAccount = updatedAccounts[0]; console.log('Auto-selecting first account:', firstAccount); // Trigger account selection