feat: navigate to mailbox after successful mail import
Build and Push Multi-Platform Images / build-and-push (push) Successful in 16s

- Add onSuccess prop to MailImportWizard, called instead of onClose on success
- MailDetailPage navigates to /mailpostfach after import completes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
bjoernpoettkerandClaude Sonnet 4.6 committed 2026-05-25 15:35:43 +02:00
1 parent 7cd7b2dbf5
commit 72d199fb3a
2 files changed
+9 -7

No files matched your search

@@ -252,11 +252,12 @@ export default function MailDetailPage() {
</div>
{wizardOpen && email && (
<MailImportWizard
visible={wizardOpen}
onClose={() => setWizardOpen(false)}
email={email}
attachments={attachments}
<MailImportWizard
visible={wizardOpen}
onClose={() => setWizardOpen(false)}
onSuccess={() => navigate('/mailpostfach')}
email={email}
attachments={attachments}
/>
)}
</div>