From f32892ac80fae77a88801a1b6d19d533c5dcca88 Mon Sep 17 00:00:00 2001 From: Ben Scobie Date: Mon, 5 Aug 2024 08:57:30 +0100 Subject: [PATCH] Fix not showing final period in the table --- components/ui/molecules/MonthLoanTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ui/molecules/MonthLoanTable.tsx b/components/ui/molecules/MonthLoanTable.tsx index e66e6e5..edf29d1 100644 --- a/components/ui/molecules/MonthLoanTable.tsx +++ b/components/ui/molecules/MonthLoanTable.tsx @@ -32,7 +32,7 @@ export const MonthLoanTable: NextPage = ({ ) )!; - const completedResults = results.results.slice(0, periodCompleteIndex); + const completedResults = results.results.slice(0, periodCompleteIndex + 1); const paging = usePager(completedResults); return (