after assigned employee and submit, model will close

This commit is contained in:
Pramod Mahajan 2025-04-15 17:26:16 +05:30
parent ab1754aa49
commit 7ebd8dcc00

View File

@ -92,7 +92,7 @@ const onSubmit = async(data) => {
let response = await TasksRepository.assignTask( formattedData );
showToast( "Task Successfully Assigend", "success" )
reset()
closeModal()
onClose()
} catch ( error )
{
showToast("something wrong","error")