after assigned employee and submit, model will close
This commit is contained in:
parent
ab1754aa49
commit
7ebd8dcc00
@ -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")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user