Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit f613e6d

Browse files
authored
DOP-3499: concatenate associated children when merging node (#762)
* concatenate associated children when merging node * DOP-3499: follow up - add different versions in test data (#763) * update snapshots * add awaits for async fn in test setups * add actual different versions in mocked json
1 parent 73d4858 commit f613e6d

File tree

6 files changed

+36793
-1608
lines changed

6 files changed

+36793
-1608
lines changed

modules/persistence/src/services/metadata/ToC/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const mergeNode = (node: ToC, tocs: ToCInsertions, currentProject) => {
7575
};
7676
return originalNode;
7777
});
78-
return copiedChildren;
78+
return children.concat(copiedChildren);
7979
}, []);
8080
return node;
8181
};

0 commit comments

Comments
 (0)