LFFE-17 Fixed bug setOpenConfirmDialog

This commit is contained in:
AmirHossein Mahmoodi
2023-11-06 14:17:16 +03:30
parent 10efc6c0af
commit e4abfb9d95

View File

@@ -24,6 +24,7 @@ const DeleteForm = ({rowId, mutate}) => {
const handleSubmit = () => {
setIsSubmitting(true)
requestServer(`${DELETE_ROLE_MANAGEMENT}/${rowId}`, 'delete').then((response) => {
setOpenConfirmDialog(false)
mutate()
update_notification()
}).catch(() => {