fix(email): share application context

This commit is contained in:
cesnimda
2026-08-10 09:36:11 +02:00
parent 75bf14417c
commit ff547df175
4 changed files with 48 additions and 19 deletions
@@ -111,7 +111,9 @@ export default function ApplicationWorkspacePage() {
<Paper sx={{ p: 2, borderRadius: 3 }}><Attachments jobId={jobId} /></Paper>
)}
{section === "communication" && jobId > 0 && (
<Paper sx={{ p: 2, borderRadius: 3 }}><Correspondence jobId={jobId} job={null as any} /></Paper>
<Paper sx={{ p: 2, borderRadius: 3 }}>
<Correspondence jobId={jobId} jobContext={{ companyName: overview?.company, jobTitle: overview?.jobTitle }} />
</Paper>
)}
{section === "checklist" && jobId > 0 && (
<ApplicationChecklist jobId={jobId} onChanged={load} />