Deleting nodes based on APP SCHEMA
This commit is contained in:
1 parent
07af3dab5e
commit
1d572ae444
4 files changed
+5
-1937
No files matched your search
@@ -11,6 +11,7 @@ function newProtocolNode () {
|
||||
|
||||
function getProtocolNode (node, removePersonalData, parseCode, includeIds, includePayload, includeReferencesInSavedPayload, lightingPath) {
|
||||
if (node === undefined) { return }
|
||||
if (node.payload === undefined) { return }
|
||||
|
||||
let nodeDefinition = APP_SCHEMA_MAP.get(node.type)
|
||||
if (nodeDefinition !== undefined) {
|
||||
|
||||
Reference in new issue
Block a user