Fix include sorting [Fix #116]
parent
88cde669e6
commit
ac709e5cf3
|
@ -61,7 +61,7 @@ export default class Picker extends React.Component {
|
||||||
this.hideRecent = true
|
this.hideRecent = true
|
||||||
|
|
||||||
if (props.include != undefined) {
|
if (props.include != undefined) {
|
||||||
data.categories.sort((a, b) => {
|
allCategories.sort((a, b) => {
|
||||||
let aName = a.name.toLowerCase()
|
let aName = a.name.toLowerCase()
|
||||||
let bName = b.name.toLowerCase()
|
let bName = b.name.toLowerCase()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue