diff --git a/frontend/src/components/email/ContractEmailsSection.tsx b/frontend/src/components/email/ContractEmailsSection.tsx index 0a5b2cc8..fa9d6da6 100644 --- a/frontend/src/components/email/ContractEmailsSection.tsx +++ b/frontend/src/components/email/ContractEmailsSection.tsx @@ -268,10 +268,40 @@ export default function ContractEmailsSection({ return email.fromName || email.fromAddress; }; + // Shared Card-Titel mit Quicklinks zur Kundenakte – wird sowohl im + // Normal-Zweig als auch im "keine Mailbox vorhanden"-Zweig gezeigt, + // damit man auch ohne eingerichtetes Postfach direkt zu den + // Stressfrei-Wechseln-Adressen springen kann. + const cardTitle = ( +
+ E-Mails + + + Postfach öffnen + + + + Stressfrei wechseln Adressen + +
+ ); + // Keine Mailbox-Konten vorhanden if (!accountsLoading && accounts.length === 0) { return ( - +

Keine E-Mail-Konten vorhanden

@@ -285,31 +315,7 @@ export default function ContractEmailsSection({ return ( - E-Mails - - - Postfach öffnen - - - - Stressfrei wechseln Adressen - -
- } + title={cardTitle} actions={
{selectedFolder !== 'TRASH' && (