From 5a4cce8ed511bf350cfa56a658227bcd5485efab Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Thu, 16 Aug 2018 12:15:06 -0500 Subject: [PATCH] set min page size to 5 ref #329 --- src/FilterLists.Web/ClientApp/components/Home.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FilterLists.Web/ClientApp/components/Home.tsx b/src/FilterLists.Web/ClientApp/components/Home.tsx index 635d228f9..9bc5fd686 100644 --- a/src/FilterLists.Web/ClientApp/components/Home.tsx +++ b/src/FilterLists.Web/ClientApp/components/Home.tsx @@ -63,7 +63,7 @@ export class Home extends React.Component, IHomeState> { updatePageSize() { this.setState({ - pageSize: Math.floor((window.innerHeight - 361) / 52) + pageSize: Math.max(Math.floor((window.innerHeight - 361) / 52), 5) }); }