fix(docs): make page size selector work in database table (#37863)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Evan Rusackas
2026-02-11 01:15:55 -05:00
committed by GitHub
parent 7e5ca83220
commit 9a79dbf445

View File

@@ -579,7 +579,7 @@ const DatabaseIndex: React.FC<DatabaseIndexProps> = ({ data }) => {
columns={columns}
rowKey={(record) => record.isCompatible ? `${record.compatibleWith}-${record.name}` : record.name}
pagination={{
pageSize: 20,
defaultPageSize: 20,
showSizeChanger: true,
showTotal: (total) => `${total} databases`,
}}