added note picto to medium Card responding to note creation on modalCard
This commit is contained in:
@ -52,7 +52,9 @@ export default {
|
||||
// find the right index
|
||||
const index = state.items.findIndex(i => i.id === item.id)
|
||||
// update the array
|
||||
Vue.set(state.items, index, item)
|
||||
if (index !== -1) {
|
||||
Vue.set(state.items, index, item)
|
||||
}
|
||||
// console.log("mutation updateItem state.items", state.items)
|
||||
},
|
||||
resetItems (state) {
|
||||
|
Reference in New Issue
Block a user