diff --git a/frontend/app/components/shared/SessionListContainer/components/SessionList/SessionList.tsx b/frontend/app/components/shared/SessionListContainer/components/SessionList/SessionList.tsx index 6d7023ca0..cba50f841 100644 --- a/frontend/app/components/shared/SessionListContainer/components/SessionList/SessionList.tsx +++ b/frontend/app/components/shared/SessionListContainer/components/SessionList/SessionList.tsx @@ -8,6 +8,7 @@ import { fetchSessions, addFilterByKeyAndValue, updateCurrentPage, setScrollPosi import useTimeout from 'App/hooks/useTimeout'; const AUTOREFRESH_INTERVAL = 5 * 60 * 1000; +const PER_PAGE = 10; interface Props { loading: boolean; list: any; @@ -114,12 +115,19 @@ function SessionList(props: Props) { {total > 0 && ( -
+ //
+
+
+ {/* showing x to x of total sessions */} + Showing {(currentPage - 1) * PER_PAGE + 1} to{' '} + {(currentPage - 1) * PER_PAGE + list.size} of{' '} + {total} sessions. +
props.updateCurrentPage(page)} - limit={10} + limit={PER_PAGE} debounceRequest={1000} />