Skip to content

Commit

Permalink
update for papaparse 4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
awilkey committed May 10, 2018
1 parent c003723 commit b4a2974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/DataSourceModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
})
);
Expand Down

0 comments on commit b4a2974

Please sign in to comment.