From e732ed2891f7d4c9ef0bb39722222e5658dd71a8 Mon Sep 17 00:00:00 2001 From: kjs Date: Mon, 3 Nov 2025 14:36:15 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20TableListComponent=20=EC=BD=94=EB=93=9C?= =?UTF-8?q?=20=EB=B3=80=ED=99=98=20=EC=A1=B0=EA=B1=B4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 문제: - webType과 codeCategory가 있기만 하면 무조건 코드 변환 시도 - 코드 타입이 아닌 컬럼도 코드 카테고리 값으로 변환되는 오류 해결: - webType === 'code'일 때만 코드 변환 수행 - 다른 webType(text, number 등)은 코드 변환 건너뛰기 변경: - meta?.webType && meta?.codeCategory → meta?.webType === 'code' && meta?.codeCategory --- .../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 365c1bc5..8931b57c 100644 --- a/frontend/lib/registry/components/table-list/TableListComponent.tsx +++ b/frontend/lib/registry/components/table-list/TableListComponent.tsx @@ -675,7 +675,7 @@ export const TableListComponent: React.FC = ({ } const meta = columnMeta[column.columnName]; - if (meta?.webType && meta?.codeCategory) { + if (meta?.webType === "code" && meta?.codeCategory) { const convertedValue = optimizedConvertCode(value, meta.codeCategory); if (convertedValue !== value) return convertedValue; }