We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b49197 commit 7b16e25Copy full SHA for 7b16e25
src/lib/linking.js
@@ -82,7 +82,7 @@ function resolveLinks(node, nodes) {
82
if (!valueItem.linkPath) {
83
continue
84
}
85
- const linkedNode = findLinkedNode(nodes, valueItem.linkPath)
+ const linkedNode = findLinkedNode(nodes, [...valueItem.linkPath])
86
if (linkedNode) {
87
node.addLink([key, i], Object.assign({}, linkedNode))
88
linkedNode.addLinkBack(node, key)
@@ -92,7 +92,7 @@ function resolveLinks(node, nodes) {
92
if (!value?.linkPath) {
93
return
94
95
- const linkedNode = findLinkedNode(nodes, value.linkPath)
+ const linkedNode = findLinkedNode(nodes, [...value.linkPath])
96
97
node.addLink([key], Object.assign({}, linkedNode))
98
0 commit comments