From 64e3afe2da269a8636455aaf2ba4969dfee7875e Mon Sep 17 00:00:00 2001 From: Alexandru Stefan Date: Sat, 13 Nov 2021 13:01:09 +0200 Subject: [PATCH] fixed deepscan --- Projects/Foundations/UI/Spaces/CodeEditor-Space/EditorPage.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Projects/Foundations/UI/Spaces/CodeEditor-Space/EditorPage.js b/Projects/Foundations/UI/Spaces/CodeEditor-Space/EditorPage.js index 2c6e47e9e..4408e4ed2 100644 --- a/Projects/Foundations/UI/Spaces/CodeEditor-Space/EditorPage.js +++ b/Projects/Foundations/UI/Spaces/CodeEditor-Space/EditorPage.js @@ -12,7 +12,6 @@ function newFoundationsCodeEditorEditorPage() { let monacoEditor = undefined let codeString = '' let stringObjects = [] - let assetsArray = [] let tradingEngineObj = undefined let recordFormulasObj = {} let chartMarketExchangeObj = {} @@ -283,7 +282,7 @@ function newFoundationsCodeEditorEditorPage() { let timeFrame = 'at' + tf.replace('-', '') stringObjects.push(chartObjectPrefix + timeFrame + '.' + productName + '.' + propertyName) - for (let i = 1; i === numberOfPreviousSuffixes; i++) { + for (let i = 1; i <= numberOfPreviousSuffixes; i++) { stringObjects.push(chartObjectPrefix + timeFrame + getPreviousSuffixTimes(i) + productName + dot + propertyName) }