우측패널 표시 컬럼 인풋 다 지우면 초기값이 들어오는 문제 해결
This commit is contained in:
parent
1e1bc0b2c6
commit
6ccaa85413
|
|
@ -526,7 +526,7 @@ export default function HierarchyConfigPanel({
|
||||||
<span className="w-20 shrink-0 text-[10px]">{col}</span>
|
<span className="w-20 shrink-0 text-[10px]">{col}</span>
|
||||||
{isSelected && (
|
{isSelected && (
|
||||||
<Input
|
<Input
|
||||||
value={displayItem?.label || col}
|
value={displayItem?.label ?? ""}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
const currentDisplay = localConfig.material?.displayColumns || [];
|
const currentDisplay = localConfig.material?.displayColumns || [];
|
||||||
const newDisplay = currentDisplay.map((d) =>
|
const newDisplay = currentDisplay.map((d) =>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue