diff --git a/frontend/lib/registry/components/table-list/TableListComponent.tsx b/frontend/lib/registry/components/table-list/TableListComponent.tsx index 98654471..3ef31c10 100644 --- a/frontend/lib/registry/components/table-list/TableListComponent.tsx +++ b/frontend/lib/registry/components/table-list/TableListComponent.tsx @@ -435,7 +435,16 @@ export const TableListComponent: React.FC = ({ .filter(([_, meta]) => meta.inputType === "category") .map(([columnName, _]) => columnName); - if (categoryColumns.length === 0) return; + if (categoryColumns.length === 0) { + console.log("⚠️ [TableList] 카테고리 컬럼 없음"); + return; + } + + console.log("🔄 [TableList] 카테고리 매핑 로드 시작:", { + table: tableConfig.selectedTable, + categoryColumns, + refreshTrigger, + }); const mappings: Record> = {}; @@ -470,7 +479,7 @@ export const TableListComponent: React.FC = ({ }; loadCategoryMappings(); - }, [tableConfig.selectedTable, columnMeta]); + }, [tableConfig.selectedTable, columnMeta, refreshTrigger]); // ======================================== // 데이터 가져오기