bug fixes

This commit is contained in:
Luis Fernando Molina committed 2020-04-15 12:50:33 +02:00
1 parent 50ae194a2c
commit 4c5b2e02d5
2 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -5920,7 +5920,7 @@
"compatibleTypes": "->Crypto Exchange->"
},
"chainAttachesTo": {
"compatibleTypes": "->Data Mining->Testing Environmnet->Production Environmnet->Template Structure->"
"compatibleTypes": "->Data Mining->Testing Environmnet->Production Environment->Template Structure->"
},
"alternativeIcons": "Use Reference Parent",
"title": [
@@ -547,7 +547,9 @@ function newUiObjectsFromNodes () {
if (userAddingNew === false && uiObjectType === 'Task' && node.savedPayload !== undefined) {
if (node.savedPayload.uiObject.isRunning === true) {
if (node.payload.parentNode !== undefined) {
tasksToRun.push(node)
if (tasksToRun !== undefined) { // it might be undefined when you are spawning a task that was running while backed up
tasksToRun.push(node)
}
}
}
}
@@ -557,7 +559,9 @@ function newUiObjectsFromNodes () {
if (uiObjectType === 'Live Trading Session' || uiObjectType === 'Fordward Testing Session' || uiObjectType === 'Backtesting Session' || uiObjectType === 'Paper Trading Session') {
if (node.savedPayload.uiObject.isRunning === true) {
if (node.payload.parentNode !== undefined) {
sessionsToRun.push(node)
if (sessionsToRun !== undefined) { // it might be undefined when you are spawning a session that was running while backed up
sessionsToRun.push(node)
}
}
}
}