diff --git a/frontend/lib/registry/components/split-panel-layout/SplitPanelLayoutComponent.tsx b/frontend/lib/registry/components/split-panel-layout/SplitPanelLayoutComponent.tsx index a84c90fd..9609f4aa 100644 --- a/frontend/lib/registry/components/split-panel-layout/SplitPanelLayoutComponent.tsx +++ b/frontend/lib/registry/components/split-panel-layout/SplitPanelLayoutComponent.tsx @@ -84,7 +84,14 @@ export const SplitPanelLayoutComponent: React.FC // "테이블명.컬럼명" 형식을 "원본컬럼_조인컬럼명" 형식으로 변환하여 데이터 접근 const getEntityJoinValue = useCallback( (item: any, columnName: string, entityColumnMap?: Record): any => { - // 직접 매칭 시도 + // 🆕 백엔드가 제공하는 _label 필드 우선 사용 + // 백엔드는 "표시 컬럼"이 설정된 경우 columnName_label을 자동 생성 + const labelKey = `${columnName}_label`; + if (item[labelKey] !== undefined && item[labelKey] !== "" && item[labelKey] !== null) { + return item[labelKey]; + } + + // 직접 매칭 시도 (JOIN된 값이 없으면 원본 값 반환) if (item[columnName] !== undefined) { return item[columnName]; }