diff --git a/frontend/components/admin/UserHistoryModal.tsx b/frontend/components/admin/UserHistoryModal.tsx index dd6614b0..89df7452 100644 --- a/frontend/components/admin/UserHistoryModal.tsx +++ b/frontend/components/admin/UserHistoryModal.tsx @@ -230,17 +230,15 @@ export function UserHistoryModal({ isOpen, onClose, userId, userName }: UserHist - {/* 페이지네이션 (원본 JSP와 유사한 구조) */} - {totalItems > 0 && ( -
- {}} // 페이지 크기는 고정 (원본과 동일) - /> -
총 {totalItems}건
-
- )} + {/* 페이지네이션 (항상 표시) */} +
+ {}} // 페이지 크기는 고정 (원본과 동일) + /> +
총 {totalItems}건
+
)} diff --git a/frontend/components/common/Pagination.tsx b/frontend/components/common/Pagination.tsx index 2c9625e3..2046e894 100644 --- a/frontend/components/common/Pagination.tsx +++ b/frontend/components/common/Pagination.tsx @@ -115,9 +115,7 @@ export function Pagination({ } }; - if (totalPages <= 1) { - return null; // 페이지가 1개 이하면 렌더링하지 않음 - } + // 항상 페이지네이션을 표시 (1페이지일 때도 표시) return (