Mentions légales du service

Skip to content
Snippets Groups Projects

Resolve "Duplicating activity do not create new contentId for the contents inside"

1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -296,6 +296,7 @@ export function duplicatePage(pageId?: string): void {
const newElement = JSON.parse(JSON.stringify(elements));
newElement.id = generateId();
newElement.parentId = nodeId;
newElement.contentId = generateContentId();
newElements.push(newElement);
}
Loading