diff --git a/src/model/DataSourceModel.js b/src/model/DataSourceModel.js index 2c9d3de4..649674f3 100644 --- a/src/model/DataSourceModel.js +++ b/src/model/DataSourceModel.js @@ -163,7 +163,7 @@ export class DataSourceModel { source : this, name: d.feature_name, tags: [d[typeField] !== '' ? d[typeField] : null], - aliases: d.feature_aliases !== '' ? d.feature_aliases.split(',') : [], + aliases: d.feature_aliases && d.feature_aliases !== '' ? d.feature_aliases.split(',') : [], coordinates: { start: d.feature_start, stop: d.feature_stop } }) );