Update TutorialSpace.js

This commit is contained in:
Luis Fernando Molina committed 2020-10-05 15:37:44 +02:00
1 parent 629ded0dde
commit 5c61423eb5
1 file changed
+1 -1
+1 -1
View File
@@ -488,7 +488,7 @@ function newTutorialSpace() {
config.changeNodeConfigWithEvalReferenceParent !== undefined
) {
changeNodeConfigCounterWithEval++
if (changeNodeConfigCounterWithEval === 5 || batchConfigChangesCounter === 10) {
if (changeNodeConfigCounterWithEval === 5 || changeNodeConfigCounterWithEval === 10) {
let nodeConfig = JSON.parse(currentNode.payload.referenceParent.config)
for (const property in config.changeNodeConfigWithEvalReferenceParent) {
nodeConfig[property] = eval(config.changeNodeConfigWithEvalReferenceParent[property])