diff options
Diffstat (limited to 'components/data-table/data-table-pagination.tsx')
| -rw-r--r-- | components/data-table/data-table-pagination.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/data-table/data-table-pagination.tsx b/components/data-table/data-table-pagination.tsx index 4ed63a1b..db62f6e8 100644 --- a/components/data-table/data-table-pagination.tsx +++ b/components/data-table/data-table-pagination.tsx @@ -33,7 +33,7 @@ export function DataTablePagination<TData>({ // "All"을 1,000,000으로 처리할 것이므로, // 만약 현재 pageSize가 1,000,000이면 화면상 "All"로 표시 const selectValue = - currentPageSize === 1_000_000 + currentPageSize === 1_000 ? "All" : String(currentPageSize) @@ -53,7 +53,7 @@ export function DataTablePagination<TData>({ onValueChange={(value) => { if (value === "All") { // "All"을 1,000,000으로 치환 - table.setPageSize(1_000_000) + table.setPageSize(1_000) } else { table.setPageSize(Number(value)) } |
