courrier multi account restore compose

This commit is contained in:
alma 2025-04-28 11:55:02 +02:00
parent 06bcaea4bf
commit 2e638960b8

View File

@ -916,8 +916,8 @@ export default function CourrierPage() {
<div className={`w-3 h-3 rounded-full ${account.color?.startsWith('#') ? 'bg-blue-500' : account.color || 'bg-blue-500'} mr-2`}></div>
<span className="truncate text-gray-700">{account.name}</span>
{account.id !== 'all-accounts' && (
<button
className="ml-auto text-gray-400 hover:text-gray-600"
<span
className="ml-auto text-gray-400 hover:text-gray-600 cursor-pointer"
onClick={(e) => {
e.stopPropagation();
// Toggle this specific account's expanded state
@ -928,7 +928,7 @@ export default function CourrierPage() {
}}
>
{expandedAccounts[account.id] ? <ChevronUp className="h-3 w-3" /> : <ChevronDown className="h-3 w-3" />}
</button>
</span>
)}
</div>
</Button>