Skip to content

Commit

Permalink
Fix include sorting [Fix #116]
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneLem committed Sep 29, 2017
1 parent 88cde66 commit ac709e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default class Picker extends React.Component {
this.hideRecent = true

if (props.include != undefined) {
data.categories.sort((a, b) => {
allCategories.sort((a, b) => {
let aName = a.name.toLowerCase()
let bName = b.name.toLowerCase()

Expand Down

0 comments on commit ac709e5

Please sign in to comment.