0

this my array

[{
  user_id: "05472250-fee3-11e9-9d4b-93808060db24",
   user: {
        "id": "05472250-fee3-11e9-9d4b-93808060db24",
        "name": "Telkom Sample User",
        "status": 1,
        "created_at": "2019-11-04T02:11:01.000Z",
        "updated_at": null
      },
}]

I have foreach the data above and below the code, but in the {{item.user.name}} section I get an error, the error Cannot read property 'name' of undefined. Is there something wrong in my code?

enter image description here

ruby grv
  • 113
  • 1
  • 2
  • 10

0 Answers0