From cc24a16c77f45e9bec84699e400899e85f81261f Mon Sep 17 00:00:00 2001 From: kiminchan Date: Tue, 12 May 2026 16:39:36 +0900 Subject: [PATCH] =?UTF-8?q?=EB=85=B8=ED=9B=84=EA=B4=80=EB=A1=9C=20?= =?UTF-8?q?=EB=B6=84=EC=84=9D=20-=20=EB=AA=A9=EB=A1=9D=EB=B3=B4=EA=B8=B0?= =?UTF-8?q?=20=EB=B2=84=ED=8A=BC=20=EA=B5=90=EC=B2=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business_components/src/ui/map/GisTree.js | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/packages/common/business_components/src/ui/map/GisTree.js b/packages/common/business_components/src/ui/map/GisTree.js index 38077c00a..549f5905a 100644 --- a/packages/common/business_components/src/ui/map/GisTree.js +++ b/packages/common/business_components/src/ui/map/GisTree.js @@ -538,6 +538,8 @@ export default React.memo(function GisTree({ (child) => child.parent === node.id && child.data.exprsYn === "Y" ); + const showLayerActionButton = layerIconVisible?.(node); + const showLayerActionIcon = depth > 0 && imageVisible; const inlineLayerSetting = inlineLayerSettingView?.(node); @@ -569,8 +571,24 @@ export default React.memo(function GisTree({ {node.text} - {((depth > 0 && imageVisible) || layerIconVisible?.(node)) && ( - + {showLayerActionButton && ( + + )} + {!showLayerActionButton && showLayerActionIcon && ( +