mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
fix(claude-code): default skills table to 10 rows per page
25 rows plus the marketplaces table above it still didn't fit in a typical window, so reaching pagination controls required a page-level scroll. 10 rows keeps everything visible without scrolling in the common case.
This commit is contained in:
parent
bbc6f0b0e0
commit
74b7e47316
1 changed files with 2 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ interface PluginTableProps {
|
|||
|
||||
const PluginTable: React.FC<PluginTableProps> = ({ pluginsList, isLoading, onDeleteClick, isAdmin, onPluginClick }) => {
|
||||
const [sorting, setSorting] = useState<SortingState>([{ id: "created_at", desc: true }]);
|
||||
const [pagination, setPagination] = useState<PaginationState>({ pageIndex: 0, pageSize: 25 });
|
||||
const [pagination, setPagination] = useState<PaginationState>({ pageIndex: 0, pageSize: 10 });
|
||||
|
||||
const copyToClipboard = (text: string) => {
|
||||
navigator.clipboard.writeText(text);
|
||||
|
|
@ -160,6 +160,7 @@ const PluginTable: React.FC<PluginTableProps> = ({ pluginsList, isLoading, onDel
|
|||
paginationMode="client"
|
||||
pagination={pagination}
|
||||
onPaginationChange={setPagination}
|
||||
pageSizeOptions={[10, 25, 50]}
|
||||
onRowClick={(plugin) => onPluginClick(plugin.id)}
|
||||
isLoading={isLoading}
|
||||
loadingMessage="Loading skills..."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue