mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-15 07:54:18 +02:00
Fix search results being capped to window height
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user