forked from phoenix/litellm-mirror
fix edit user roles on admin ui
This commit is contained in:
parent
bfb06d37b7
commit
a5fbc0bd3e
2 changed files with 12 additions and 12 deletions
|
@ -78,7 +78,7 @@ const ViewUserDashboard: React.FC<ViewUserDashboardProps> = ({
|
|||
return;
|
||||
}
|
||||
|
||||
userUpdateUserCall(accessToken, editedUser, userRole);
|
||||
userUpdateUserCall(accessToken, editedUser, null);
|
||||
|
||||
if (userData) {
|
||||
const updatedUserData = userData.map((user) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue