테이블 타입관리 ui개선

This commit is contained in:
kjs
2025-12-03 16:39:47 +09:00
parent eb5ea411c9
commit 4e29f92268
5 changed files with 491 additions and 334 deletions

View File

@@ -66,8 +66,8 @@ export const CategoryValueEditDialog: React.FC<
onUpdate(value.valueId!, {
valueLabel: valueLabel.trim(),
description: description.trim(),
color: color,
description: description.trim() || undefined, // 빈 문자열 대신 undefined
color: color === "none" ? null : color, // "none"은 null로 (배지 없음)
});
};