0
The problem might be the computed property for itemName
.
If this.myAssets
is empty or does not contain the correct item find()
in getAssetId
returns undefined (https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Array/find).
getAssetId
is used in the computed property for itemName
where you are trying access itemName
of undefined.
- [Vuejs]-Vue Route does not working. Laravel 8 + Vue
- [Vuejs]-Save CSV from an array of objects in VueJs 3
Source:stackexchange.com