From 0d3e59fd812974cef3d44278c3a0ae95436a7da4 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sun, 25 Aug 2019 07:45:03 -0500 Subject: [PATCH] limit page size options --- .../src/components/allListsTable/AllListsTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FilterLists.Web.V2/src/components/allListsTable/AllListsTable.tsx b/src/FilterLists.Web.V2/src/components/allListsTable/AllListsTable.tsx index b09951d91..b22b8955d 100644 --- a/src/FilterLists.Web.V2/src/components/allListsTable/AllListsTable.tsx +++ b/src/FilterLists.Web.V2/src/components/allListsTable/AllListsTable.tsx @@ -58,7 +58,7 @@ export class AllListsTable extends React.Component<{}, State> { const pageSize = Math.floor((window.innerHeight - 211.5) / 56); this.setState({ pageSize: pageSize, - pageSizeOptions: [5, 10, 20, 500, 2000, pageSize].sort((a, b) => a - b).map(String), + pageSizeOptions: [200, 2000, pageSize].sort((a, b) => a - b).map(String), isNarrowWindow: window.innerWidth < 576 ? true : false }); }