From b4a29743f0a3bd039e380ff564328841597d2b6e Mon Sep 17 00:00:00 2001 From: awilkey Date: Thu, 10 May 2018 13:31:36 -0500 Subject: [PATCH] update for papaparse 4.4 --- src/model/DataSourceModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }) );