From 97af17e716c06d8c81f4e380c5a467c5d14daac9 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Fri, 25 Sep 2020 18:51:24 -0400 Subject: browser image parsing to base64/dataURL complete; further work on new product, added animate.css just for testing --- iridescence/src/store/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'iridescence/src/store') 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) -- cgit v1.2.3