제어관리 로그 노드 제거

This commit is contained in:
kjs 2025-10-23 11:31:31 +09:00
parent e934cc945b
commit b66b7c66f0
3 changed files with 1 additions and 15 deletions

View File

@ -108,14 +108,6 @@ export const NODE_PALETTE: NodePaletteItem[] = [
category: "utility",
color: "#6B7280", // 회색
},
{
type: "log",
label: "로그",
icon: "",
description: "로그를 출력합니다",
category: "utility",
color: "#6B7280", // 회색
},
];
export const NODE_CATEGORIES = [

View File

@ -368,7 +368,6 @@ export default function ScreenDesigner({ selectedScreen, onBackToList }: ScreenD
if ((comp.type === "widget" || comp.type === "component") && anyComp.tableName && anyComp.columnName) {
const key = `${anyComp.tableName}.${anyComp.columnName}`;
placed.add(key);
console.log("🔍 배치된 컬럼 발견:", key, "타입:", comp.type);
}
// 자식 컴포넌트도 확인 (재귀)
@ -379,7 +378,6 @@ export default function ScreenDesigner({ selectedScreen, onBackToList }: ScreenD
};
collectColumns(layout.components);
console.log("📋 배치된 컬럼 목록:", Array.from(placed));
return placed;
}, [layout.components]);

View File

@ -87,11 +87,7 @@ export const TablesPanel: React.FC<TablesPanelProps> = ({
...table,
columns: table.columns.filter((col) => {
const columnKey = `${table.tableName}.${col.columnName}`;
const isPlaced = placedColumns.has(columnKey);
if (isPlaced) {
console.log("🚫 필터링된 컬럼:", columnKey);
}
return !isPlaced;
return !placedColumns.has(columnKey);
}),
}));