diff --git a/ui/litellm-dashboard/src/components/all_keys_table.tsx b/ui/litellm-dashboard/src/components/all_keys_table.tsx index 274567b732..1f05c243ee 100644 --- a/ui/litellm-dashboard/src/components/all_keys_table.tsx +++ b/ui/litellm-dashboard/src/components/all_keys_table.tsx @@ -187,6 +187,14 @@ export function AllKeysTable({ ), }, + { + header: "Key Alias", + accessorKey: "key_alias", + cell: (info) => { + const value = info.getValue() as string; + return {value ? (value.length > 20 ? `${value.slice(0, 20)}...` : value) : "-"} + } + }, { header: "Secret Key", accessorKey: "key_name", @@ -206,12 +214,6 @@ export function AllKeysTable({ accessorKey: "team_id", cell: (info) => {info.getValue() ? `${(info.getValue() as string).slice(0, 7)}...` : "-"} }, - - { - header: "Key Alias", - accessorKey: "key_alias", - cell: (info) => {info.getValue() ? `${(info.getValue() as string).slice(0, 7)}...` : "-"} - }, { header: "Organization ID", accessorKey: "organization_id", @@ -370,7 +372,7 @@ export function AllKeysTable({ -
+
col.id !== 'expander')} diff --git a/ui/litellm-dashboard/src/components/view_key_table.tsx b/ui/litellm-dashboard/src/components/view_key_table.tsx index 8aadbc8438..22e786dcbc 100644 --- a/ui/litellm-dashboard/src/components/view_key_table.tsx +++ b/ui/litellm-dashboard/src/components/view_key_table.tsx @@ -412,7 +412,7 @@ const ViewKeyTable: React.FC = ({ isLoading={isLoading} pagination={pagination} onPageChange={handlePageChange} - pageSize={50} + pageSize={100} teams={teams} selectedTeam={selectedTeam} setSelectedTeam={setSelectedTeam}