From b164602ee504931420238c25300da025388f7093 Mon Sep 17 00:00:00 2001 From: ghotso <168240713+ghotso@users.noreply.github.com> Date: Mon, 18 Aug 2025 23:18:20 +0200 Subject: [PATCH] fix(pdf): render assignee using assigned_users with fallback to assigned_to --- application/src/services/incident/pdf/sections.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/services/incident/pdf/sections.ts b/application/src/services/incident/pdf/sections.ts index a3ee403..f2e8602 100644 --- a/application/src/services/incident/pdf/sections.ts +++ b/application/src/services/incident/pdf/sections.ts @@ -158,7 +158,7 @@ export const addAssignmentSection = (doc: jsPDF, incident: IncidentItem, yPos: n yPos += 10; doc.setFontSize(10); doc.setTextColor(0, 0, 0); - const assignedTo = incident.assigned_to || 'Not assigned'; + const assignedTo = incident.assigned_users || incident.assigned_to || 'Not assigned'; doc.text(`Assigned to: ${assignedTo}`, 15, yPos); return yPos + 10;