From 847b16b3a63acc78f91c9ee3113288191fe2b90a Mon Sep 17 00:00:00 2001 From: "opacity@t-win.kr" Date: Mon, 7 Jul 2025 11:02:51 +0900 Subject: [PATCH] =?UTF-8?q?[SHOPTIME-4024]Category/SHow/Show=20List=20?= =?UTF-8?q?=EC=82=AC=EB=9D=BC=EC=A7=80=EB=8A=94=20=ED=98=84=EC=83=81=20?= =?UTF-8?q?=EC=9E=AC=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- com.twin.app.shoptime/src/actions/mainActions.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/com.twin.app.shoptime/src/actions/mainActions.js b/com.twin.app.shoptime/src/actions/mainActions.js index 2adc0c58..6e671401 100644 --- a/com.twin.app.shoptime/src/actions/mainActions.js +++ b/com.twin.app.shoptime/src/actions/mainActions.js @@ -246,7 +246,7 @@ export const getSubCategory = }; export const continueGetSubCategory = - (key, pageNo = 2) => + (key, pageNo) => (dispatch, getState) => { if (!lastSubCategoryParams) { console.warn("No previous category parameters found"); @@ -262,8 +262,8 @@ export const continueGetSubCategory = const startIndex = CATEGORY_DATA_MAX_RESULTS_LIMIT * (pageNo - 1); if ( (startIndex <= 1 && !targetData) || - targetData[startIndex] !== null || - totalCount <= startIndex + startIndex < targetData.length || + (totalCount -1) <= startIndex ) { //ignore query return;