fixed deepscan

This commit is contained in:
Alexandru Stefan committed 2021-11-13 13:01:09 +02:00
1 parent acca8523ee
commit 64e3afe2da
1 file changed
+1 -2
@@ -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)
}