summaryrefslogtreecommitdiff
path: root/iridescence/src/store
diff options
context:
space:
mode:
Diffstat (limited to 'iridescence/src/store')
-rw-r--r--iridescence/src/store/index.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/iridescence/src/store/index.js b/iridescence/src/store/index.js
index 0e5d3be..1a83c01 100644
--- a/iridescence/src/store/index.js
+++ b/iridescence/src/store/index.js
@@ -9,9 +9,13 @@ let dichroismApi = new Dichroism();
export default new Vuex.Store({
state: {
searchTerm: "",
- products: []
+ products: [],
+ busy: false
},
getters: {
+ busy(state) {
+ return state.busy;
+ },
products(state) {
return state.products.filter(item => {
return JSON.stringify(item)