diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-06-17 09:02:32 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-06-17 09:02:32 +0000 |
| commit | 7a1524ba54f43d0f2a19e4bca2c6a2e0b01c5ef1 (patch) | |
| tree | daa214d404c7fc78b32419a028724e5671a6c7a4 /components/data-table/data-table-pagination.tsx | |
| parent | fa6a6093014c5d60188edfc9c4552e81c4b97bd1 (diff) | |
(대표님) 20250617 18시 작업사항
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)) } |
