diff --git a/DesignSpace/Workspace/FunctionLibraries/UiObjectsFromNodes.js b/DesignSpace/Workspace/FunctionLibraries/UiObjectsFromNodes.js index d9b05f2dd..5bf1c7389 100644 --- a/DesignSpace/Workspace/FunctionLibraries/UiObjectsFromNodes.js +++ b/DesignSpace/Workspace/FunctionLibraries/UiObjectsFromNodes.js @@ -174,7 +174,7 @@ function newUiObjectsFromNodes() { if (node.payload.referenceParent.cleaned === true) { node.payload.referenceParent = mapOfNodes.get(node.payload.referenceParent.id) if (node.payload.referenceParent === undefined) { - console.log(node.type + ' ' + node.name + ' reference parent lost during re-binding phase.') + //console.log('[WARN]' + node.type + ' ' + node.name + ' reference parent lost during re-binding phase.') } continue // We were referencing a deleted node, so we replace it potentially with a newly created one. } else { @@ -185,7 +185,7 @@ function newUiObjectsFromNodes() { if (node.savedPayload.referenceParent !== undefined) { // these are children recreated node.payload.referenceParent = mapOfNodes.get(node.savedPayload.referenceParent.id) if (node.payload.referenceParent === undefined) { - console.log(node.type + ' ' + node.name + ' reference parent lost during re-binding phase.') + //console.log('[WARN]' + node.type + ' ' + node.name + ' reference parent lost during re-binding phase.') } } } diff --git a/DesignSpace/Workspace/Workspace.js b/DesignSpace/Workspace/Workspace.js index 037ef7c05..0701507c5 100644 --- a/DesignSpace/Workspace/Workspace.js +++ b/DesignSpace/Workspace/Workspace.js @@ -413,7 +413,7 @@ function newWorkspace() { function replaceWorkspaceByLoadingOne(name) { let webCommand - if (name.indexOf('Included -> ' >= 0)) { + if (name.indexOf('Included -> ') >= 0) { name = name.replace('Included -> ', '') webCommand = 'LoadIncludedWorkspace' } else {