courrier multi account restore compose

This commit is contained in:
alma 2025-04-28 17:12:36 +02:00
parent 49bd135347
commit 091f915f8f

View File

@ -185,7 +185,10 @@ export default function CourrierPage() {
// Debug accounts state
useEffect(() => {
console.log('Current accounts state:', accounts);
}, [accounts]);
console.log('Expanded accounts:', expandedAccounts);
console.log('Selected account:', selectedAccount);
console.log('Show folders:', showFolders);
}, [accounts, expandedAccounts, selectedAccount, showFolders]);
// Debug selectedAccount state
useEffect(() => {
@ -697,6 +700,14 @@ export default function CourrierPage() {
}));
};
// Debug folder rendering
useEffect(() => {
if (selectedAccount) {
console.log('Selected account folders:', selectedAccount.folders);
console.log('Is account expanded:', expandedAccounts[selectedAccount.id]);
}
}, [selectedAccount, expandedAccounts]);
return (
<>
<SimplifiedLoadingFix />