From 3c0c00071202ca6c7b20783b36891a73e053e658 Mon Sep 17 00:00:00 2001 From: Jori Lallo Date: Mon, 9 Oct 2017 22:25:42 -0700 Subject: [PATCH] Use string over a function --- frontend/stores/CollectionsStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/stores/CollectionsStore.js b/frontend/stores/CollectionsStore.js index a973c958d..6b5d2d997 100644 --- a/frontend/stores/CollectionsStore.js +++ b/frontend/stores/CollectionsStore.js @@ -49,7 +49,7 @@ class CollectionsStore { } @computed get orderedData(): Collection[] { - return _.sortBy(this.data, collection => collection.name); + return _.sortBy(this.data, 'name'); } /**