diff --git a/src/store/index.js b/src/store/index.js index d971128..4bba56b 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -27,6 +27,9 @@ export default new Vuex.Store({ }, GetBundleById: (state) => (bundleId) => { return getById(state.bundles, bundleId) + }, + GetItemById: (state) => (itemId) => { + return getById(state.items, itemId) } }, mutations: {