I have the following structure:
data: () => ({
loadProgress: [{}]
})
example structure of loadProgress
[{
itemId: 1,
details:[{}, {}, {}]
}, {
itemId: 2,
details: [{}, {}, {}, {}]
}]
how I can do this.loadProgress[index].details.push(...) to achieve reactivity?
I'm rendering it with v-for where :key is item.itemId
this.loadProgress[index].details.push(...)this is what I've already tried, I have event listener which is giving me one object which needs to be added to an array which I've mentioned earlier.