fix: webType도 체크하여 카테고리 컬럼 감지

- inputType과 webType 모두 'category'인 경우 처리
- columnMeta에 inputType이 없어도 webType으로 감지 가능
- material 컬럼 등 webType만 있는 경우도 정상 동작
This commit is contained in:
kjs 2025-11-06 12:27:22 +09:00
parent 70dc24f7a1
commit 4cd08c3900
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ export const TableListComponent: React.FC<TableListComponentProps> = ({
try {
const categoryColumns = Object.entries(columnMeta)
.filter(([_, meta]) => meta.inputType === "category")
.filter(([_, meta]) => meta.inputType === "category" || meta.webType === "category")
.map(([columnName, _]) => columnName);
if (categoryColumns.length === 0) {