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> </button>
)} )}
</div> </div>
{/* Show only selectedAccount.folders for the selected account if expanded */} {/* Show folders for any expanded account */}
{selectedAccount && account.id === selectedAccount.id && expandedAccounts[account.id] && account.folders && account.folders.length > 0 && ( {expandedAccounts[account.id] && account.folders && account.folders.length > 0 && (
<div className="pl-4"> <div className="pl-4">
{account.folders.map((folder) => renderFolderButton(folder, account.id))} {account.folders.map((folder) => renderFolderButton(folder, account.id))}
</div> </div>