From 57ff7273e4968432ad853743b43f026468e65148 Mon Sep 17 00:00:00 2001 From: alma Date: Sun, 27 Apr 2025 22:21:35 +0200 Subject: [PATCH] courrier multi account restore compose --- app/courrier/page.tsx | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/app/courrier/page.tsx b/app/courrier/page.tsx index 32727d21..50c4fcbe 100644 --- a/app/courrier/page.tsx +++ b/app/courrier/page.tsx @@ -1089,18 +1089,11 @@ export default function CourrierPage() { - {/* Panel 3: Email Detail or Compose - Always visible */} + {/* Panel 3: Email Detail - Always visible */}
{/* Content for Panel 3 based on state but always visible */}
- {showComposeModal ? ( - setShowComposeModal(false)} - /> - ) : selectedEmail ? ( + {selectedEmail ? ( { @@ -1148,6 +1141,18 @@ export default function CourrierPage() { onLogin={handleGoToLogin} onClose={() => setShowLoginNeeded(false)} /> + + {/* Compose Email Dialog */} + !open && setShowComposeModal(false)}> + + setShowComposeModal(false)} + /> + + ); } \ No newline at end of file