FIX: sort theme by lower case theme name
This commit is contained in:
parent
8ffb918824
commit
bbeb69ddc9
|
@ -4,7 +4,7 @@ export default Ember.Controller.extend({
|
|||
@computed('model', 'model.@each')
|
||||
sortedThemes(themes) {
|
||||
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()];
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue