mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
Fix internal users table overflow (#12736)
* modify column name * fix overflow * remove height
This commit is contained in:
parent
e4364ad1c4
commit
88e4d302a2
2 changed files with 7 additions and 5 deletions
|
|
@ -296,7 +296,7 @@ const ViewUserDashboard: React.FC<ViewUserDashboardProps> = ({ accessToken, toke
|
|||
)
|
||||
|
||||
return (
|
||||
<div className="w-full p-6">
|
||||
<div className="w-full p-6 overflow-hidden">
|
||||
<div className="flex items-center justify-between mb-4">
|
||||
<div className="flex space-x-3">
|
||||
<CreateUser userID={userID} accessToken={accessToken} teams={teams} possibleUIRoles={possibleUIRoles} />
|
||||
|
|
@ -506,7 +506,7 @@ const ViewUserDashboard: React.FC<ViewUserDashboardProps> = ({ accessToken, toke
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="overflow-auto">
|
||||
<UserDataTable
|
||||
data={userListQuery.data?.users || []}
|
||||
columns={tableColumns}
|
||||
|
|
@ -529,6 +529,8 @@ const ViewUserDashboard: React.FC<ViewUserDashboardProps> = ({ accessToken, toke
|
|||
selectedUsers={selectedUsers}
|
||||
onSelectionChange={handleSelectionChange}
|
||||
/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</TabPanel>
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ export const columns = (
|
|||
),
|
||||
},
|
||||
{
|
||||
header: "User Email",
|
||||
header: "Email",
|
||||
accessorKey: "user_email",
|
||||
cell: ({ row }) => (
|
||||
<span className="text-xs">{row.original.user_email || "-"}</span>
|
||||
|
|
@ -49,7 +49,7 @@ export const columns = (
|
|||
),
|
||||
},
|
||||
{
|
||||
header: "User Spend ($ USD)",
|
||||
header: "Spend (USD)",
|
||||
accessorKey: "spend",
|
||||
cell: ({ row }) => (
|
||||
<span className="text-xs">
|
||||
|
|
@ -58,7 +58,7 @@ export const columns = (
|
|||
),
|
||||
},
|
||||
{
|
||||
header: "User Max Budget ($ USD)",
|
||||
header: "Budget (USD)",
|
||||
accessorKey: "max_budget",
|
||||
cell: ({ row }) => (
|
||||
<span className="text-xs">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue