We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7772994 commit e47e5c6Copy full SHA for e47e5c6
src/store/index.js
@@ -36,8 +36,6 @@ const store = new Vuex.Store({
36
},
37
38
FETCH_ITEMS: ({ commit, state }, { ids }) => {
39
- // only fetch items that we don't already have.
40
- ids = ids.filter(id => !state.items[id])
41
if (ids.length) {
42
return fetchItems(ids).then(items => commit('SET_ITEMS', { items }))
43
} else {
0 commit comments