fixed issue type not being communicated during creation

This commit is contained in:
2026-01-29 20:42:54 +00:00
parent 2aa13e34bf
commit 106fc34aed
4 changed files with 11 additions and 8 deletions

View File

@@ -125,8 +125,8 @@ export function IssueForm({ trigger }: { trigger?: React.ReactNode }) {
description,
sprintId: sprintId === "unassigned" ? null : Number(sprintId),
assigneeIds: assigneeIds.filter((id) => id !== "unassigned").map((id) => Number(id)),
status: status.trim() === "" ? undefined : status,
type: type.trim() === "" ? undefined : type,
status: status.trim(),
type: type.trim(),
});
setOpen(false);
reset();