Commit 3178832a authored by Antonella Giachino's avatar Antonella Giachino
Browse files

Managed undefined (loading feature's properties)

parent 599f7101
......@@ -214,7 +214,7 @@
var prop = {};
prop.value = row[c];
for (p in cols){
if (cols[p].alias == header){
if (cols[p] && cols[p].alias == header){
prop.type = cols[p].fieldType;
prop.aggregationSelected = ( cols[p].properties && cols[p].properties.aggregationSelected) ? cols[p].properties.aggregationSelected : '';
prop.thresholdsConfig = ( cols[p].properties && cols[p].properties.thresholds) ? cols[p].properties.thresholds : null;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment