diff --git a/frontend/src/components/korea/FleetClusterLayer.tsx b/frontend/src/components/korea/FleetClusterLayer.tsx index 86fc406..7f967e5 100644 --- a/frontend/src/components/korea/FleetClusterLayer.tsx +++ b/frontend/src/components/korea/FleetClusterLayer.tsx @@ -1043,7 +1043,7 @@ export function FleetClusterLayer({ ships, analysisMap: analysisMapProp, onShipS {/* 선택된 어구 그룹 — 이름 기반 하이라이트 폴리곤 */} - {selectedGearGroup && !historyData && enabledModels.has('identity') && (() => { + {selectedGearGroup && enabledModels.has('identity') && !historyData && (() => { const allGroups = groupPolygons ? [...groupPolygons.gearInZoneGroups, ...groupPolygons.gearOutZoneGroups] : []; @@ -1066,7 +1066,7 @@ export function FleetClusterLayer({ ships, analysisMap: analysisMapProp, onShipS })()} {/* 선택된 어구 그룹 — 모델별 오퍼레이셔널 폴리곤 오버레이 */} - {selectedGearGroup && !historyData && operationalPolygons.map(op => ( + {selectedGearGroup && operationalPolygons.map(op => ( { + {selectedGearGroup && (() => { const allGroups = groupPolygons ? [...groupPolygons.gearInZoneGroups, ...groupPolygons.gearOutZoneGroups] : []; const group = allGroups.find(g => g.groupKey === selectedGearGroup); - if (!group) return null; + const memberCount = group?.memberCount ?? 0; const defaultItems = correlationData.filter(c => c.isDefault); return (
@@ -1356,7 +1356,7 @@ export function FleetClusterLayer({ ships, analysisMap: analysisMapProp, onShipS
{selectedGearGroup} - 어구 {group.memberCount}개 + 어구 {memberCount}개