Skip to content

Commit 6fcfc6d

Browse files
committed
sort types before rendering type distribution bar
1 parent bb1447b commit 6fcfc6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scout-ui/src/field-list/type-list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ module.exports = AmpersandView.extend({
55
template: require('./type-list.jade'),
66
render: function() {
77
this.renderWithTemplate({});
8-
this.renderCollection(this.collection, TypeListItem, this.queryByHook('types'));
8+
this.renderCollection(this.collection.sort(), TypeListItem, this.queryByHook('types'));
99
}
1010
});

0 commit comments

Comments
 (0)