fix: edit/delete for draft issue (#2190)
* fix: edit/delete * fix: build issue * fix: draft issue modal opening in kanban card
This commit is contained in:
parent
eda4da8aed
commit
32d945be0d
14 changed files with 403 additions and 78 deletions
|
|
@ -133,9 +133,15 @@ export const IssueForm: FC<IssueFormProps> = (props) => {
|
|||
|
||||
const issueName = watch("name");
|
||||
|
||||
const payload = {
|
||||
const payload: Partial<IIssue> = {
|
||||
name: getValues("name"),
|
||||
description: getValues("description"),
|
||||
state: getValues("state"),
|
||||
priority: getValues("priority"),
|
||||
assignees: getValues("assignees"),
|
||||
target_date: getValues("target_date"),
|
||||
labels: getValues("labels"),
|
||||
project: getValues("project"),
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue