mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
ui - fix show internal_user -> Internal User on UI
This commit is contained in:
parent
1713ca9c0b
commit
f4f7a058f4
2 changed files with 8 additions and 0 deletions
|
|
@ -35,6 +35,10 @@ function formatUserRole(userRole: string) {
|
|||
return "Admin";
|
||||
case "proxy_admin_viewer":
|
||||
return "Admin Viewer";
|
||||
case "internal_user":
|
||||
return "Internal User";
|
||||
case "internal_viewer":
|
||||
return "Internal Viewer";
|
||||
case "app_user":
|
||||
return "App User";
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -99,6 +99,10 @@ const UserDashboard: React.FC<UserDashboardProps> = ({
|
|||
return "Admin Viewer";
|
||||
case "app_user":
|
||||
return "App User";
|
||||
case "internal_user":
|
||||
return "Internal User";
|
||||
case "internal_viewer":
|
||||
return "Internal Viewer";
|
||||
default:
|
||||
return "Unknown Role";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue