I have been trying to filter out some objects by a key value:
chargesAtOffense(offense) {
return _.filter(this.charges, { offense_level: offense });
}
When I log it into the console, the return array displays everything properly:
Array[16]0: Object1: Object2: Object3: Object4: Object5: Object6: Object7: Object8: Object9: Object10: Object11: Object12: Object13: Object14: Object15: Object__ob__: Observerlength: 16__proto__: Array
However after binding the array to a vue model, and outputting it it just shows an empty array.
via Paul Diamant