Fix search results being capped to window height

This commit is contained in:
jeffvli 2023-05-21 20:51:52 -07:00
parent 011f260e94
commit 611cbc6dd9
2 changed files with 9 additions and 10 deletions

View file

@ -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);
},