FIX: sort theme by lower case theme name

This commit is contained in:
Sam 2017-04-18 15:43:38 -04:00
parent 8ffb918824
commit bbeb69ddc9
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ export default Ember.Controller.extend({
@computed('model', 'model.@each') @computed('model', 'model.@each')
sortedThemes(themes) { sortedThemes(themes) {
return _.sortBy(themes.content, t => { return _.sortBy(themes.content, t => {
return [!t.get("default"), !t.get("user_selectable"), t.get("name")]; return [!t.get("default"), !t.get("user_selectable"), t.get("name").toLowerCase()];
}); });
} }
}); });