Bug fixed

This commit is contained in:
Luis Fernando Molina committed 2020-06-23 14:27:39 +02:00
1 parent f45ea412f7
commit 7b83d32284
7 files changed
+8 -5

No files matched your search

+1
View File
@@ -34,6 +34,7 @@ function newNodesErrors () {
function applyValue (nodeId, value) {
let node = hiriarchyMap.get(nodeId)
if (node === undefined) { return }
if (node.payload === undefined) { return }
if (node.payload.uiObject === undefined) { return }
if (value === '') {
+1
View File
@@ -35,6 +35,7 @@ function newNodesProgress () {
function applyValue (nodeId, value) {
let node = hiriarchyMap.get(nodeId)
if (node === undefined) { return }
if (node.payload === undefined) { return }
if (node.payload.uiObject === undefined) { return }
if (value === true) { value = 'true' }
+1
View File
@@ -35,6 +35,7 @@ function newNodesRunning () {
function applyValue (nodeId, value) {
let node = hiriarchyMap.get(nodeId)
if (node === undefined) { return }
if (node.payload === undefined) { return }
if (node.payload.uiObject === undefined) { return }
if (value === true) { value = 'true' }
+1
View File
@@ -35,6 +35,7 @@ function newNodesStatus () {
function applyValue (nodeId, value) {
let node = hiriarchyMap.get(nodeId)
if (node === undefined) { return }
if (node.payload === undefined) { return }
if (node.payload.uiObject === undefined) { return }
if (value === true) { value = 'true' }
+1
View File
@@ -35,6 +35,7 @@ function newNodesValues () {
function applyValue (nodeId, value) {
let node = hiriarchyMap.get(nodeId)
if (node === undefined) { return }
if (node.payload === undefined) { return }
if (node.payload.uiObject === undefined) { return }
if (value === true) { value = 'true' }
+2 -5
View File
@@ -252,6 +252,7 @@ function newPlotter () {
}
function recalculate () {
if (canvas.chartingSpace.visible !== true) { return }
try {
if (timeFrame >= _1_HOUR_IN_MILISECONDS) {
recalculateUsingMarketFiles()
@@ -873,11 +874,7 @@ function newPlotter () {
}
function onDragFinished () {
try {
recalculate()
} catch (err) {
if (ERROR_LOG === true) { logger.write('[ERROR] onDragFinished -> err = ' + err.stack) }
}
recalculate()
}
function onDisplace (event) {
+1
View File
@@ -52,6 +52,7 @@ function newRecordValues () {
}
function applyValue (node, value) {
if (node === undefined) { return }
if (node === undefined) { return }
if (node.payload === undefined) { return }
if (node.payload.uiObject === undefined) { return }