Use assignee and due date on create; reset after
cgen-81d5db819e794ddbb10c4bd048598191
This commit is contained in:
parent
c2c42dcc8b
commit
5f41b56497
1 changed files with 4 additions and 2 deletions
|
|
@ -95,11 +95,13 @@ export default function ProjectBoard() {
|
||||||
projectId,
|
projectId,
|
||||||
title.trim(),
|
title.trim(),
|
||||||
description.trim() || null,
|
description.trim() || null,
|
||||||
null,
|
assigneeId || null,
|
||||||
null,
|
dueDate || null,
|
||||||
);
|
);
|
||||||
setTitle("");
|
setTitle("");
|
||||||
setDescription("");
|
setDescription("");
|
||||||
|
setAssigneeId("");
|
||||||
|
setDueDate("");
|
||||||
await load();
|
await load();
|
||||||
} finally {
|
} finally {
|
||||||
setCreating(false);
|
setCreating(false);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue