Bugs Fixed

This commit is contained in:
Luis Fernando Molina committed 2020-01-15 09:11:54 +01:00
1 parent 44ce2949b0
commit b5ed52131a
2 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -137,7 +137,8 @@ function newLayer () {
'Record Definition->Record Property->Formula->' +
'Data Building Procedure->Procedure Loop->Javascript Code->Procedure Initialization->Javascript Code->' +
'Calculations Procedure->Procedure Loop->Javascript Code->Procedure Initialization->Javascript Code->' +
'Plotter Module->Shapes->' +
'Plotter Module->Plotter->' +
'Shapes->' +
'Chart Points->Point->Point Formula->' +
'Polygon->Polygon Body->Style->Style Condition->Style->' +
'Polygon Border->Style->Style Condition->Style->' +
+2 -2
View File
@@ -85,7 +85,7 @@ function newProductStorage (name) {
for (let i = 0; i < product.datasets.length; i++) {
let dataset = product.datasets[i]
switch (dataset.type) {
switch (dataset.code.type) {
case 'Market Files': {
dataSetsToLoad++
@@ -122,7 +122,7 @@ function newProductStorage (name) {
}
break
default:
if (ERROR_LOG === true) { logger.write('[WARN] initialize -> initialize -> dataset with no type defined. Data can not be retrieved. -> codeName = ' + dataset.codeName) }
if (ERROR_LOG === true) { logger.write('[WARN] initialize -> dataset with no type defined or type not supported -> dataset.code.type = ' + dataset.code.type) }
}
function onMarketFileReady (err, pCaller) {