Use string over a function

This commit is contained in:
Jori Lallo
2017-10-09 22:25:42 -07:00
parent 78b856e7a6
commit 3c0c000712

View File

@@ -49,7 +49,7 @@ class CollectionsStore {
}
@computed get orderedData(): Collection[] {
return _.sortBy(this.data, collection => collection.name);
return _.sortBy(this.data, 'name');
}
/**