From 62463e1ca8456dc9933bf895fff0cb2408cebcc9 Mon Sep 17 00:00:00 2001 From: kjs Date: Thu, 20 Nov 2025 18:00:30 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B6=84=ED=95=A0=20=ED=8C=A8=EB=84=90?= =?UTF-8?q?=20=EB=9D=BC=EB=B2=A8=20=ED=91=9C=EC=8B=9C=20=EC=84=A4=EC=A0=95?= =?UTF-8?q?=20=EC=B4=88=EA=B8=B0=20=EB=A0=8C=EB=8D=94=EB=A7=81=20=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - displayMode가 undefined일 때 기본값 'list' 처리 누락 - 조건문을 (config.rightPanel?.displayMode || 'list') === 'list'로 변경 - 이제 처음 들어갔을 때부터 라벨 표시 설정 UI가 보임 문제: LIST 모드가 기본값인데 초기에는 설정 UI가 안 보이고 테이블 모드로 변경 후 다시 LIST로 바꿔야 보임 원인: undefined === 'list'가 false가 되어 조건문이 작동하지 않음 해결: 기본값 처리 추가 --- .../split-panel-layout/SplitPanelLayoutConfigPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/lib/registry/components/split-panel-layout/SplitPanelLayoutConfigPanel.tsx b/frontend/lib/registry/components/split-panel-layout/SplitPanelLayoutConfigPanel.tsx index f59a16e6..9f88e290 100644 --- a/frontend/lib/registry/components/split-panel-layout/SplitPanelLayoutConfigPanel.tsx +++ b/frontend/lib/registry/components/split-panel-layout/SplitPanelLayoutConfigPanel.tsx @@ -1447,7 +1447,7 @@ export const SplitPanelLayoutConfigPanel: React.FC {/* 요약 표시 설정 (LIST 모드에서만) */} - {config.rightPanel?.displayMode === "list" && ( + {(config.rightPanel?.displayMode || "list") === "list" && (