From 14f0e787ee539214beeafad12bcd766df824176f Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 14 Dec 2019 14:19:08 +0100 Subject: [PATCH] bug fixed --- .../Workspace/FunctionLibraries/UiObjectsFromNodes.js | 2 +- FloatingSpace/UiObjectConstructor.js | 8 ++++---- Panels/PlotterPanel.js | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/DesignerSpace/Workspace/FunctionLibraries/UiObjectsFromNodes.js b/DesignerSpace/Workspace/FunctionLibraries/UiObjectsFromNodes.js index 3ffe8df8e..734b1517f 100644 --- a/DesignerSpace/Workspace/FunctionLibraries/UiObjectsFromNodes.js +++ b/DesignerSpace/Workspace/FunctionLibraries/UiObjectsFromNodes.js @@ -1145,7 +1145,7 @@ function newUiObjectsFromNodes () { let object = { type: 'Status Dependency', name: 'New Status Dependency', - code: '{ \n\"mainUtility\": \"Self Reference|Market Starting Point|Market Ending Point.\"\n}' + code: '{ \n\"mainUtility\": \"Self Reference|Market Starting Point|Market Ending Point\"\n}' } if (node.statusDependencies === undefined) { node.statusDependencies = [] diff --git a/FloatingSpace/UiObjectConstructor.js b/FloatingSpace/UiObjectConstructor.js index 16952bd47..3321d19e0 100644 --- a/FloatingSpace/UiObjectConstructor.js +++ b/FloatingSpace/UiObjectConstructor.js @@ -2261,7 +2261,7 @@ function newUiObjectConstructor () { addLeftIcons(menuItemsInitialValues, floatingObject) menuItemsInitialValues.push( { - action: 'Configure Sensor Bot Instance', + action: 'Configure Bot Instance', actionFunction: uiObject.configEditor.activate, label: 'Configure Sensor Bot Instance', visible: true, @@ -2328,9 +2328,9 @@ function newUiObjectConstructor () { addLeftIcons(menuItemsInitialValues, floatingObject) menuItemsInitialValues.push( { - action: 'Configure Indicator Bot Instance', + action: 'Configure Bot Instance', actionFunction: uiObject.configEditor.activate, - label: 'Configure Indicator Bot Instance', + label: 'Configure Bot Instance', visible: true, iconPathOn: 'html', iconPathOff: 'html', @@ -2395,7 +2395,7 @@ function newUiObjectConstructor () { addLeftIcons(menuItemsInitialValues, floatingObject) menuItemsInitialValues.push( { - action: 'Configure Trading Bot Instance', + action: 'Configure Bot Instance', actionFunction: uiObject.configEditor.activate, label: 'Configure Trading Bot Instance', visible: true, diff --git a/Panels/PlotterPanel.js b/Panels/PlotterPanel.js index 1a54b7299..b567cc9f4 100644 --- a/Panels/PlotterPanel.js +++ b/Panels/PlotterPanel.js @@ -100,6 +100,7 @@ function newPlotterPanel () { } /* Second we go through the panel data. */ + if (panelNode.panelData === undefined) { return } for (let i = 0; i < panelNode.panelData.length; i++) { let panelData = panelNode.panelData[i]