diff --git a/ui/litellm-dashboard/src/components/view_users.tsx b/ui/litellm-dashboard/src/components/view_users.tsx index b87524bc6e9..435b13c15fc 100644 --- a/ui/litellm-dashboard/src/components/view_users.tsx +++ b/ui/litellm-dashboard/src/components/view_users.tsx @@ -36,7 +36,6 @@ import { TrashIcon, } from "@heroicons/react/outline"; - interface ViewUserDashboardProps { accessToken: string | null; token: string | null; @@ -159,14 +158,10 @@ const ViewUserDashboard: React.FC = ({ return (
- + - +
- - These are Users on LiteLLM that created API Keys. Automatically - tracked by LiteLLM -
@@ -176,7 +171,7 @@ const ViewUserDashboard: React.FC = ({ User ID User Email - User Models + Role User Spend ($ USD) User Max Budget ($ USD) API Keys @@ -186,16 +181,11 @@ const ViewUserDashboard: React.FC = ({ {userData.map((user: any) => ( - {user.user_id} - {user.user_email} - + {user.user_id || "-"} + {user.user_email || "-"} + {user.user_role || "-"} - {user.models && user.models.length > 0 - ? user.models - : "All Models"} - - - {user.spend ? user.spend?.toFixed(2) : 0} + {user.spend ? user.spend?.toFixed(2) : "-"} {user.max_budget ? user.max_budget : "Unlimited"}