fix undo
This commit is contained in:
1 parent
d87cba3622
commit
242a960634
3 files changed
+41
-26
No files matched your search
@@ -8,6 +8,7 @@ export const cloneNodeData = (nodeData: GraphNodeModel) => {
|
||||
const newData: BehaviorNodeModel = {
|
||||
id: Number(nodeData.id),
|
||||
name: nodeData.name,
|
||||
desc: nodeData.desc,
|
||||
};
|
||||
if(nodeData.input) {
|
||||
newData.input = [];
|
||||
|
||||
Reference in new issue
Block a user