diff --git a/jsx/src/components/PaginationFooter/PaginationFooter.jsx b/jsx/src/components/PaginationFooter/PaginationFooter.jsx index d0a8e8f8..803c85c8 100644 --- a/jsx/src/components/PaginationFooter/PaginationFooter.jsx +++ b/jsx/src/components/PaginationFooter/PaginationFooter.jsx @@ -5,11 +5,12 @@ import { FormControl } from "react-bootstrap"; import "./pagination-footer.css"; const PaginationFooter = (props) => { - let { offset, limit, visible, total, next, prev, handleLimit } = props; + const { offset, limit, visible, total, next, prev, handleLimit } = props; return (

- Displaying {offset + 1}-{offset + visible} {total ? `of ${total}` : ""} + Displaying {visible ? offset + 1 : offset}-{offset + visible}{" "} + {total ? `of ${total}` : ""}
{offset >= 1 ? (