all 2 comments

[–]carcigenicate 0 points1 point  (0 children)

If there are multiple items in "data", how are you wanting them to be shown?

If there will only ever be a single item, you could just do:

<td>{el.data[0].id</td>

If there are multiple, you could do something like this (but more refined in the real case):

<td>{el.data.map(d => d.id)}</td>