blob: d0d08fe846523148b89c02ee6a04776fbecf026e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<template>
<span>
<template v-for="(entry, idx) in entries">
<Address :key="entry.email" :email="entry.email" :label="entry.label" /><!--
--><span v-if="idx + 1 < entries.length" :key="entry.email">, </span>
</template>
</span>
</template>
<script>
import Address from './Address'
export default {
name: 'AddressList',
components: {
Address,
},
props: {
entries: {
type: Array,
required: true,
},
},
}
</script>
|