From 7cb1f33e17c8bd295ded10cddde38554716454b4 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Fri, 13 Oct 2023 14:23:38 +0300 Subject: [PATCH] Datatables --- lib/ui/app/tables/app_paginated_data_table.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/app/tables/app_paginated_data_table.dart b/lib/ui/app/tables/app_paginated_data_table.dart index d811d6af7..96fcf6189 100644 --- a/lib/ui/app/tables/app_paginated_data_table.dart +++ b/lib/ui/app/tables/app_paginated_data_table.dart @@ -459,7 +459,7 @@ class AppPaginatedDataTableState extends State { Text( localizations.pageRowsInfoTitle( _firstRowIndex + 1, - _firstRowIndex + widget.rowsPerPage, + math.min(_rowCount, _firstRowIndex + widget.rowsPerPage), _rowCount, _rowCountApproximate, ),