From f00f56c18b20d71d59214aecc62fc6676f7369c9 Mon Sep 17 00:00:00 2001 From: alma Date: Tue, 15 Apr 2025 21:23:28 +0200 Subject: [PATCH] mail page imap connection 9 --- app/mail/page.tsx | 81 ++++++++++++++++------------------------------- 1 file changed, 28 insertions(+), 53 deletions(-) diff --git a/app/mail/page.tsx b/app/mail/page.tsx index 43e25b8..7e8c055 100644 --- a/app/mail/page.tsx +++ b/app/mail/page.tsx @@ -309,37 +309,39 @@ export default function MailPage() { {/* Sidebar */}
- {/* Account Selection */} + {/* Mail Title and Account Selection */}
- {sidebarOpen ? ( - - ) : ( - - )} +
{/* Accounts Dropdown */} - {accountsDropdownOpen && sidebarOpen && ( + {accountsDropdownOpen && (
- {allAccounts.map(account => ( + + {accounts.map(account => (
{account.name} - {account.email && {account.email}} + {account.email}
- - {/* Account Actions Dropdown */} - {showAccountActions === account.id && ( -
- - -
- )}
))}