diff --git a/com.twin.app.shoptime/src/views/MyPagePanel/MyPageSub/MyOrders/MyOrders.jsx b/com.twin.app.shoptime/src/views/MyPagePanel/MyPageSub/MyOrders/MyOrders.jsx index 51e16822..7ceca085 100644 --- a/com.twin.app.shoptime/src/views/MyPagePanel/MyPageSub/MyOrders/MyOrders.jsx +++ b/com.twin.app.shoptime/src/views/MyPagePanel/MyPageSub/MyOrders/MyOrders.jsx @@ -151,14 +151,36 @@ export default function MyOrders({ title, panelInfo, isOnTop }) { const cancelOrderInfoDataRef = usePrevious(cancelOrderInfoData); const filterMethods = useMemo( - () => [$L("Last 3 Month"), $L("Last 6 Month")], + () => [ + $L("Last 1 Month"), + $L("Last 3 Month"), + $L("Last 6 Month"), + $L("Last 12 Month"), + ], [] ); const reload = useCallback( (forceUpdate = false) => { const cancelOrderYn = tabRef.current === 0 ? "N" : "Y"; - const srchMonth = dropDownTabRef.current === 0 ? 3 : 6; + + let srchMonth; + switch (dropDownTabRef.current) { + case 0: // Last 1 Month + srchMonth = 1; + break; + case 1: // Last 3 Month + srchMonth = 3; + break; + case 2: // Last 6 Month + srchMonth = 6; + break; + case 3: // Last 12 Month + srchMonth = 12; + break; + default: + srchMonth = 3; // 기본값 + } if ( forceUpdate ||