diff --git a/src/js/helpers/data-helper.js b/src/js/helpers/data-helper.js index 02395e1..0825182 100644 --- a/src/js/helpers/data-helper.js +++ b/src/js/helpers/data-helper.js @@ -168,16 +168,18 @@ const getMallInfo = async ({ memberID }) => { const shopInfo = serverShopInfo.map(({ floorOrd: floorOrder, shopList }) => ({ floorOrder, - shopList: shopList.map((iot) => ({ - ...iot, - code: iot.shopCode, - houseNum: iot.houseNumber, - logoPath: cdnUrl + iot.logoUrl, - shopFormat: iot.industryFatherName, - intro: true, - formatColor: iot.color, - floorOrder, - })), + shopList: shopList + .filter(({ status }) => status !== 1) + .map((iot) => ({ + ...iot, + code: iot.shopCode, + houseNum: iot.houseNumber, + logoPath: cdnUrl + iot.logoUrl, + shopFormat: iot.industryFatherName, + intro: true, + formatColor: iot.color, + floorOrder, + })), })); shopInfo.forEach(({ shopList }) =>