empty select activity, planne work fields after successfully created task
This commit is contained in:
parent
20c7cf7f37
commit
764b145ad9
@ -112,7 +112,10 @@ const TaskModel = ({ project, onSubmit, onClose }) => {
|
||||
const { mutate: CreateTask, isPending } = useManageTask({
|
||||
onSuccessCallback: (response) => {
|
||||
showToast(response?.message, "success");
|
||||
// onClose?.();
|
||||
setValue("activityID",""),
|
||||
setValue("plannedWork",0),
|
||||
setValue("completedWork",0)
|
||||
setValue("comment","")
|
||||
},
|
||||
});
|
||||
useEffect(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user