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 8f49aaa commit 00d8aafCopy full SHA for 00d8aaf
src/interact.ts
@@ -134,7 +134,7 @@ export const selectParent = function (this: MindElixirInstance) {
134
export const getDataString = function (this: MindElixirInstance) {
135
const data = collectData(this)
136
return JSON.stringify(data, (k, v) => {
137
- if (k === 'parent') return undefined
+ if (k === 'parent' && typeof v !== 'string') return undefined
138
if (k === 'from') return v.nodeObj.id
139
if (k === 'to') return v.nodeObj.id
140
return v
0 commit comments