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