mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 18:13:31 +00:00
Fix broken pagination split logic
This commit is contained in:
parent
6821735f65
commit
7378fd1f20
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ import type {
|
|||
export const splitPaginatedQuery = (key: any) => {
|
||||
const { startIndex, limit, ...filter } = key;
|
||||
|
||||
if (startIndex === undefined || limit === undefined) {
|
||||
if (startIndex !== undefined || limit !== undefined) {
|
||||
return {
|
||||
filter,
|
||||
pagination: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue