fixed showroom duplicate

This commit is contained in:
2021-08-05 12:22:57 +02:00
parent 2305b7529e
commit c799d62969
5 changed files with 6 additions and 5 deletions

View File

@ -18,10 +18,11 @@ export default {
// mutations
mutations: {
setItems (state, items) {
state.items = state.items.concat(items)
state.items = items
items.forEach((item, i) => {
state.showrooms_by_tid[item.tid] = item
})
// console.log('Showroom setitems', state.showrooms_by_tid)
}
},