diff --git a/apps/sn/app/map/components/common/index.ts b/apps/sn/app/map/components/common/index.ts index eecfd7b29..240085459 100644 --- a/apps/sn/app/map/components/common/index.ts +++ b/apps/sn/app/map/components/common/index.ts @@ -21,7 +21,7 @@ const layerContentMap: LayerContentMap = { }, "하수처리구역": { }, "우수토실":{component: Ssc,}, - "중점우수토실":{component: Ssc,}, + "중점우수토실":{component: Ssc, props: { chkMainSsc: true } }, // 중점우수토실 여부 설정 "하수관로":{component: MsSwagePpl,}, "하수맨홀":{component: smh,}, "빗물펌프":{component:StormWaterPump}, @@ -35,7 +35,7 @@ export const getLayerContentComponent = (layerNm: string): React.FC null; } - return component.component; + return component.component, component.props; }; // 사용자 입력 필드 (보수 및 갱신, 청소 및 준설, 점검 및 진단) export const handleInputChange = (section: string,