fix: handle nullable ticket custom fields

This commit is contained in:
Esdras Renan 2025-11-06 14:57:18 -03:00
parent 55631d339a
commit f1ff3be9e0

View file

@ -276,7 +276,7 @@ export function TicketCustomFieldsSection({ ticket }: TicketCustomFieldsSectionP
}
payload.push({
fieldId: field.id as Id<"ticketFields">,
value: normalized.value,
value: "value" in normalized ? normalized.value : null,
})
}