courrier multi account restore compose

This commit is contained in:
alma 2025-04-28 19:01:45 +02:00
parent fdd91c4b3d
commit 188895da1b

View File

@ -1042,8 +1042,8 @@ export default function CourrierPage() {
</button>
)}
</div>
{/* Show only selectedAccount.folders for the selected account if expanded */}
{selectedAccount && account.id === selectedAccount.id && expandedAccounts[account.id] && account.folders && account.folders.length > 0 && (
{/* Show folders for any expanded account */}
{expandedAccounts[account.id] && account.folders && account.folders.length > 0 && (
<div className="pl-4">
{account.folders.map((folder) => renderFolderButton(folder, account.id))}
</div>