fixed previous role feature to current user role.
This commit is contained in:
parent
3777d4b7c5
commit
1ca337067a
@ -84,6 +84,7 @@ const ManageRole = ({ employeeId, onClosed }) => {
|
||||
.then((resp) => {
|
||||
showToast("Role assigned successfully", "success");
|
||||
setIsLoading( false );
|
||||
reset()
|
||||
onClosed();
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user