mirror of
https://github.com/jeffvli/feishin.git
synced 2024-11-20 14:37:06 +01:00
Fix broken pagination split logic
This commit is contained in:
parent
6821735f65
commit
7378fd1f20
@ -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…
Reference in New Issue
Block a user