summaryrefslogtreecommitdiff
path: root/iridescence/src/store
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-11-16 18:41:16 -0500
committerAdam T. Carpenter <atc@53hor.net>2020-11-16 18:41:16 -0500
commit0a678675ee4fbc22c12844ee7738ca5e95de01da (patch)
tree6f47d8ebf4df228fb4e73f87f2287507f3b18412 /iridescence/src/store
parenta71c91289f87f4c01a5e3c87b5f00a2912fd07d6 (diff)
downloadtheglassyladies-0a678675ee4fbc22c12844ee7738ca5e95de01da.tar.xz
theglassyladies-0a678675ee4fbc22c12844ee7738ca5e95de01da.zip
dug; you can do date oldest/newest sorting with dbids.
Diffstat (limited to 'iridescence/src/store')
-rw-r--r--iridescence/src/store/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/iridescence/src/store/index.js b/iridescence/src/store/index.js
index d0d04cb..78ee20b 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: () => 0
+ compare: (_, b) => b.featured
},
getters: {
busy(state) {