우측패널 표시 컬럼 인풋 다 지우면 초기값이 들어오는 문제 해결

This commit is contained in:
dohyeons 2025-11-21 14:29:17 +09:00
parent 1e1bc0b2c6
commit 6ccaa85413
1 changed files with 1 additions and 1 deletions

View File

@ -526,7 +526,7 @@ export default function HierarchyConfigPanel({
<span className="w-20 shrink-0 text-[10px]">{col}</span>
{isSelected && (
<Input
value={displayItem?.label || col}
value={displayItem?.label ?? ""}
onChange={(e) => {
const currentDisplay = localConfig.material?.displayColumns || [];
const newDisplay = currentDisplay.map((d) =>