Good afternoon, I need to retrieve the name
variable from this array of objects, when I filter by id
, when I type for example id
1, return "Solid"
full_category_list: [
{
id: 1,
name: 'Sólido',
parent : 0,
},
{
id: 2,
name: 'Líquido',
parent : 0
}
]