From 767fe08731afd5327f49f2f98e1bee105237bf5e Mon Sep 17 00:00:00 2001 From: Sidharth Mohanty Date: Thu, 30 Dec 2021 20:09:56 +0530 Subject: [PATCH] [FIX] filter ability for admin room checkboxes (#23970) * filter ability for admin room checkoxes * fix: set all params in generic table Co-authored-by: yash-rajpal Co-authored-by: Yash Rajpal <58601732+yash-rajpal@users.noreply.github.com> Co-authored-by: Matheus Barbosa Silva <36537004+matheusbsilva137@users.noreply.github.com> --- client/components/GenericTable/GenericTable.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/components/GenericTable/GenericTable.tsx b/client/components/GenericTable/GenericTable.tsx index 2b850b02420..06781fed743 100644 --- a/client/components/GenericTable/GenericTable.tsx +++ b/client/components/GenericTable/GenericTable.tsx @@ -13,7 +13,11 @@ import { usePagination } from './hooks/usePagination'; const defaultParamsValue = { text: '', current: 0, itemsPerPage: 25 } as const; const defaultSetParamsValue = (): void => undefined; -type GenericTableParams = { text?: string; current?: number; itemsPerPage?: 25 | 50 | 100 }; +type GenericTableParams = { + text?: string; + current?: number; + itemsPerPage?: 25 | 50 | 100; +}; type GenericTableProps void }, ResultProps extends { _id?: Key }> = { fixed?: boolean;