Skip to content

Commit

Permalink
Merge pull request #154 from uber/chrisirhc-patch-1
Browse files Browse the repository at this point in the history
Fix legends broken after using Number items
  • Loading branch information
javidhsueh authored Sep 28, 2016
2 parents 6357308 + 2a152d3 commit ab9ebaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/legends/searchable-discrete-color-legend.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const propTypes = {
const defaultProps = {
searchText: '',
searchFn: (items, s) => items.filter(
item => (item.title || item).toLowerCase().indexOf(s) !== -1
item => String(item.title || item).toLowerCase().indexOf(s) !== -1
)
};

Expand Down

0 comments on commit ab9ebaf

Please sign in to comment.