empty select activity, planne work fields after successfully created task

This commit is contained in:
pramod.mahajan 2025-09-29 18:31:56 +05:30
parent 20c7cf7f37
commit 764b145ad9

View File

@ -112,7 +112,10 @@ const TaskModel = ({ project, onSubmit, onClose }) => {
const { mutate: CreateTask, isPending } = useManageTask({ const { mutate: CreateTask, isPending } = useManageTask({
onSuccessCallback: (response) => { onSuccessCallback: (response) => {
showToast(response?.message, "success"); showToast(response?.message, "success");
// onClose?.(); setValue("activityID",""),
setValue("plannedWork",0),
setValue("completedWork",0)
setValue("comment","")
}, },
}); });
useEffect(() => { useEffect(() => {