diff --git a/frontend/components/screen/widgets/CategoryWidget.tsx b/frontend/components/screen/widgets/CategoryWidget.tsx index 099a6558..4d646064 100644 --- a/frontend/components/screen/widgets/CategoryWidget.tsx +++ b/frontend/components/screen/widgets/CategoryWidget.tsx @@ -22,8 +22,8 @@ export function CategoryWidget({ widgetId, tableName }: CategoryWidgetProps) { return (
- {/* 좌측: 카테고리 컬럼 리스트 (30%) */} -
+ {/* 좌측: 카테고리 컬럼 리스트 (20%) */} +
- {/* 우측: 카테고리 값 관리 (70%) */} -
+ {/* 우측: 카테고리 값 관리 (80%) */} +
{selectedColumn ? ( { const colName = col.columnName || col.column_name; const colLabel = col.columnLabel || col.column_label || col.displayName || colName; - + // 각 컬럼의 값 개수 가져오기 let valueCount = 0; try { @@ -96,14 +96,14 @@ export function CategoryColumnList({ tableName, selectedColumn, onColumnSelect } } catch (error) { console.error(`항목 개수 조회 실패 (${colName}):`, error); } - + return { columnName: colName, columnLabel: colLabel, inputType: col.inputType || col.input_type, valueCount, }; - }) + }), ); setColumns(columnsWithCount);