Skip to content

Commit

Permalink
Merge pull request #90 from LegumeFederation/bugfix/papaparse
Browse files Browse the repository at this point in the history
update for papaparse 4.4
  • Loading branch information
awilkey authored May 10, 2018
2 parents 33b2fd8 + b4a2974 commit 020dc19
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 020dc19

Please sign in to comment.