From 95b341df7992b3f56b7b05c4377351d91b15a1dd Mon Sep 17 00:00:00 2001 From: kjs Date: Thu, 6 Nov 2025 12:22:24 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=8D=B0=EC=9D=B4=ED=84=B0=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=20=EC=8B=9C=20=EC=B9=B4=ED=85=8C=EA=B3=A0=EB=A6=AC=20?= =?UTF-8?q?=EB=A7=A4=ED=95=91=20=EC=9E=90=EB=8F=99=20=EA=B0=B1=EC=8B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - useEffect 의존성을 refreshTrigger에서 data.length로 변경 - 데이터가 추가/삭제/변경될 때마다 자동으로 매핑 갱신 - 화면 전환 후 데이터 로드 완료 시점에 매핑도 함께 갱신 --- .../lib/registry/components/table-list/TableListComponent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/lib/registry/components/table-list/TableListComponent.tsx b/frontend/lib/registry/components/table-list/TableListComponent.tsx index 3ef31c10..127cc08b 100644 --- a/frontend/lib/registry/components/table-list/TableListComponent.tsx +++ b/frontend/lib/registry/components/table-list/TableListComponent.tsx @@ -479,7 +479,7 @@ export const TableListComponent: React.FC = ({ }; loadCategoryMappings(); - }, [tableConfig.selectedTable, columnMeta, refreshTrigger]); + }, [tableConfig.selectedTable, columnMeta, data.length]); // data.length로 데이터 변경 감지 // ======================================== // 데이터 가져오기