mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 16:17:13 +01:00
Default list size.
This commit is contained in:
parent
1aa407027e
commit
c213b6414f
1 changed files with 3 additions and 1 deletions
|
|
@ -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 [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue