ShopTime-4012 Category Kids 진입시 앱재시작하는 현상 수정
This commit is contained in:
@@ -261,14 +261,10 @@ export const continueGetSubCategory =
|
|||||||
const totalCount = subCategoryData[key]?.total ?? 0;
|
const totalCount = subCategoryData[key]?.total ?? 0;
|
||||||
const startIndex = CATEGORY_DATA_MAX_RESULTS_LIMIT * (pageNo - 1);
|
const startIndex = CATEGORY_DATA_MAX_RESULTS_LIMIT * (pageNo - 1);
|
||||||
|
|
||||||
if (totalCount <= startIndex) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
(startIndex <= 1 && !targetData) ||
|
(startIndex <= 1 && !targetData) ||
|
||||||
targetData[startIndex] ||
|
targetData[startIndex] ||
|
||||||
totalCount < startIndex
|
totalCount <= startIndex
|
||||||
) {
|
) {
|
||||||
//ignore query
|
//ignore query
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user