|
@@ -459,7 +459,7 @@ export const editActions = EditorModule.action({
|
|
ctrl.compMap[cp1.id] = cp1;
|
|
ctrl.compMap[cp1.id] = cp1;
|
|
ctrl.setCompPid(cp1.id, c.id);
|
|
ctrl.setCompPid(cp1.id, c.id);
|
|
childs[index] = cp1.id;
|
|
childs[index] = cp1.id;
|
|
- deepCopy(cp);
|
|
|
|
|
|
+ deepCopy(cp1);
|
|
});
|
|
});
|
|
}
|
|
}
|
|
};
|
|
};
|
|
@@ -470,7 +470,7 @@ export const editActions = EditorModule.action({
|
|
news.push(cp1.id);
|
|
news.push(cp1.id);
|
|
ctrl.compMap[cp1.id] = cp1;
|
|
ctrl.compMap[cp1.id] = cp1;
|
|
ctrl.setCompPid(cp1.id, ctrl.currStreamCardId);
|
|
ctrl.setCompPid(cp1.id, ctrl.currStreamCardId);
|
|
- deepCopy(cp);
|
|
|
|
|
|
+ deepCopy(cp1);
|
|
});
|
|
});
|
|
this.actions.addComps(news);
|
|
this.actions.addComps(news);
|
|
|
|
|