From de5116a6bf41f93f9159aa9d6333cd2615234be8 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Tue, 30 Apr 2024 01:02:12 +0200 Subject: [PATCH] Fixed pagination that cant be changed on table --- src/frontend/src/components/tableComponent/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/components/tableComponent/index.tsx b/src/frontend/src/components/tableComponent/index.tsx index 20b9083d9..d5fdcd712 100644 --- a/src/frontend/src/components/tableComponent/index.tsx +++ b/src/frontend/src/components/tableComponent/index.tsx @@ -9,7 +9,7 @@ import { cn } from "../../utils/utils"; const TableComponent = forwardRef< ElementRef, ComponentPropsWithoutRef ->(({ ...props }, ref) => { +>(({ pagination = true, ...props }, ref) => { const dark = useDarkStore((state) => state.dark); return ( @@ -20,7 +20,7 @@ const TableComponent = forwardRef< "ag-theme-shadcn flex h-full flex-col pb-8" )} // applying the grid theme > - + );