From ef1643e9da4cb71ac202ac995157136023ef7bb2 Mon Sep 17 00:00:00 2001 From: JIeunhuh Date: Tue, 8 Jul 2025 16:09:01 +0900 Subject: [PATCH] =?UTF-8?q?=EC=83=81=EC=84=B8=20=EB=82=98=EC=98=A4?= =?UTF-8?q?=EA=B2=8C=20=EC=9A=B0=EC=84=A0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wr/app/map/newWindowPopup.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/wr/app/map/newWindowPopup.tsx b/apps/wr/app/map/newWindowPopup.tsx index 5d724cecf..e1a26267f 100644 --- a/apps/wr/app/map/newWindowPopup.tsx +++ b/apps/wr/app/map/newWindowPopup.tsx @@ -167,11 +167,11 @@ const NewWindowPopup: React.FC = ({ pbnstSttn.pbnstSttnRes[index] ) { setFcltPk(pbnstSttn.pbnstSttnRes[index].pbnstRuseFcltPk); - // fetchpbnstDetail(pbnstSttn.pbnstSttnRes[index].pbnstRuseFcltPk) - onFeatureSelect(pbnstSttn.pbnstSttnRes[index]); - // setActiveTab(pbnstSttn.pbnstSttnRes[index].pbnstRuseFcltPk) - // setViewMode("detail") - onClose() + fetchpbnstDetail(pbnstSttn.pbnstSttnRes[index].pbnstRuseFcltPk) + // onFeatureSelect(pbnstSttn.pbnstSttnRes[index]); + setActiveTab(pbnstSttn.pbnstSttnRes[index].pbnstRuseFcltPk) + setViewMode("detail") + // onClose() } }; const getSelectedLayers = () => { @@ -269,10 +269,10 @@ const NewWindowPopup: React.FC = ({ index !== undefined && rainTable !== undefined && headId !== 'chBuildingYn') { - // setRainDetailModal({ isOpen: true, data: rainTable[index] }) - // setViewMode('detail') - onFeatureSelect(rainTable[index]); - onClose(); + setRainDetailModal({ isOpen: true, data: rainTable[index] }) + setViewMode('detail') + // onFeatureSelect(rainTable[index]); + // onClose(); } else if (headId === 'chBuildingYn' && index !== undefined && rainTable !== undefined) { if (rainTable[index] && rainTable[index]?.chgBuilding[0]?.bdstChgNm !== null) setRainBdstChgProps({ isOpen: true, chBuilding: rainTable[index].chgBuilding });