Bug fixed
This commit is contained in:
1 parent
f45ea412f7
commit
7b83d32284
7 files changed
+8
-5
No files matched your search
@@ -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 === '') {
|
||||
|
||||
@@ -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' }
|
||||
|
||||
@@ -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' }
|
||||
|
||||
@@ -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' }
|
||||
|
||||
@@ -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
@@ -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) {
|
||||
|
||||
@@ -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 }
|
||||
|
||||
Reference in new issue
Block a user