From c017f3ec0df41efd96fc7027dd7afc9362609d41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?kimjh=28=EA=B9=80=EC=9E=A5=ED=98=84=29?= Date: Tue, 15 Nov 2022 14:36:44 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=84=ED=96=89=20=EC=9D=B4=EB=A0=A5=20?= =?UTF-8?q?=EA=B7=B8=EB=A3=B9=20=EC=84=A0=ED=83=9D=20=EC=9D=B4=EC=8A=88=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../analysis/history/AnalysisHistoryContainer.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/containers/analysis/history/AnalysisHistoryContainer.js b/src/containers/analysis/history/AnalysisHistoryContainer.js index 6fb2c38d..30e02573 100644 --- a/src/containers/analysis/history/AnalysisHistoryContainer.js +++ b/src/containers/analysis/history/AnalysisHistoryContainer.js @@ -88,10 +88,10 @@ export const AnalysisHistoryContainer = props => { const handleGroupSelect = ({ groupId }) => { // 권한 상관 없이 모두 조회 가능 - const param = params; - - param.groupId = groupId; + // const param = params; + // param.groupId = groupId; + console.log(groupId); dispatch(FlightAction.FLIGHT_PLAN_GROUP_SELECT({ groupId: groupId })); // groupId sessionStorage에 보관 (1 브라우저 1 tab에만 유효) @@ -101,7 +101,9 @@ export const AnalysisHistoryContainer = props => { // setIsClick(7); setParams(prevState => ({ ...prevState, groupId })); dispatch(Actions.LIST_INITAL()); - dispatch(Actions.list.request({ searchParams: params, page: 1 })); + dispatch( + Actions.list.request({ searchParams: { ...params, groupId }, page: 1 }) + ); }; const handlerGroupCancel = () => { dispatch(