diff --git a/resources/scripts/components/admin/AdminTable.tsx b/resources/scripts/components/admin/AdminTable.tsx index 1ec140e0b..09cbd0812 100644 --- a/resources/scripts/components/admin/AdminTable.tsx +++ b/resources/scripts/components/admin/AdminTable.tsx @@ -137,7 +137,7 @@ export function Pagination ({ data, onPageSelect, children }: Props) {

- Showing {((pagination.currentPage - 1) * pagination.perPage) + 1} to {((pagination.currentPage - 1) * pagination.perPage) + pagination.count} of {pagination.total} results + Showing {((pagination.currentPage - 1) * pagination.perPage) + (pagination.total > 0 ? 1 : 0)} to {((pagination.currentPage - 1) * pagination.perPage) + pagination.count} of {pagination.total} results

{isFirstPage && isLastPage ? @@ -180,8 +180,8 @@ export const Loading = () => { export const NoItems = () => { return ( -
-
+
+
{'No