0👍
Ah.. The issue was:
- My second to item was not in an array:
"to": "ntregensoe1@bluehost.com"
. So when I was getting the value of24
I was just assuming the code was not working.
When I fix that in the JSON I can then use:
<td>{{ data.to[0]}} <span v-if="data.to.length > 1">+ {{ data.to.length - 1 }}</span></td>
Source:stackexchange.com