mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 02:43:33 +00:00
Fix search results being capped to window height
This commit is contained in:
parent
011f260e94
commit
611cbc6dd9
2 changed files with 9 additions and 10 deletions
|
|
@ -66,6 +66,8 @@ const SearchRoute = () => {
|
|||
lastRow = startIndex + numOfItems;
|
||||
}
|
||||
|
||||
console.log('lastRow', lastRow);
|
||||
|
||||
params.successCallback(items, lastRow);
|
||||
},
|
||||
};
|
||||
|
|
@ -111,6 +113,8 @@ const SearchRoute = () => {
|
|||
lastRow = startIndex + numOfItems;
|
||||
}
|
||||
|
||||
console.log('lastRow', lastRow);
|
||||
|
||||
params.successCallback(items, lastRow);
|
||||
},
|
||||
};
|
||||
|
|
@ -155,6 +159,9 @@ const SearchRoute = () => {
|
|||
if (numOfItems < limit) {
|
||||
lastRow = startIndex + numOfItems;
|
||||
}
|
||||
console.log('items', items);
|
||||
console.log('numOfItems :>> ', numOfItems);
|
||||
console.log('lastRow', lastRow);
|
||||
|
||||
params.successCallback(items, lastRow);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue