Skip to content
Snippets Groups Projects
Commit ec4a4e76 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

sort tables in the QB data selector drop down by their display name.

parent 62b56fca
No related branches found
No related tags found
No related merge requests found
......@@ -109,8 +109,11 @@ export default class DataSelector extends Component {
name: table.display_name,
database: database,
table: table
}))
}))
})).sort(function(a, b) {
return a.name.localeCompare(b.name);
})
}));
} else {
sections = [{
items: this.props.databases.map(database => ({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment