fix: handle nullable ticket custom fields
This commit is contained in:
parent
55631d339a
commit
f1ff3be9e0
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ export function TicketCustomFieldsSection({ ticket }: TicketCustomFieldsSectionP
|
||||||
}
|
}
|
||||||
payload.push({
|
payload.push({
|
||||||
fieldId: field.id as Id<"ticketFields">,
|
fieldId: field.id as Id<"ticketFields">,
|
||||||
value: normalized.value,
|
value: "value" in normalized ? normalized.value : null,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue