diff options
Diffstat (limited to 'iridescence/src/store')
-rw-r--r-- | iridescence/src/store/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iridescence/src/store/index.js b/iridescence/src/store/index.js index 78ee20b..30f6cbf 100644 --- a/iridescence/src/store/index.js +++ b/iridescence/src/store/index.js @@ -11,7 +11,7 @@ export default new Vuex.Store({ searchTerm: "", products: [], busy: false, - compare: (_, b) => b.featured + compare: a => (a.featured ? -1 : 1) }, getters: { busy(state) { |