Default list size.
This commit is contained in:
@@ -185,7 +185,9 @@ function getPageFilters(filters: SearchFilter<any>): [
|
|||||||
orderBy: string;
|
orderBy: string;
|
||||||
},
|
},
|
||||||
] {
|
] {
|
||||||
const { pageSize = 10, page = 1, orderBy } = filters;
|
const pageSize = filters?.pageSize || 10;
|
||||||
|
const page = filters?.page || 1;
|
||||||
|
const orderBy = filters?.orderBy;
|
||||||
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user