2019-07-05 08:07:25 +00:00
|
|
|
{{#if item.TaggedAddresses }}
|
2020-03-06 14:10:34 +00:00
|
|
|
<TabularCollection
|
2019-07-05 08:07:25 +00:00
|
|
|
data-test-addresses
|
2020-03-06 14:10:34 +00:00
|
|
|
@items={{object-entries item.TaggedAddresses}} as |taggedAddress index|
|
|
|
|
>
|
|
|
|
<BlockSlot @name="header">
|
|
|
|
<th>Tag</th>
|
|
|
|
<th>Address</th>
|
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="row">
|
|
|
|
{{#with (object-at 1 taggedAddress) as |address|}}
|
|
|
|
<td>
|
|
|
|
{{object-at 0 taggedAddress}}{{#if (and (eq address.Address item.Address) (eq address.Port item.Port))}} <em data-test-address-default>(default)</em>{{/if}}
|
|
|
|
</td>
|
|
|
|
<td data-test-address>
|
|
|
|
{{address.Address}}:{{address.Port}}
|
|
|
|
</td>
|
|
|
|
{{/with}}
|
|
|
|
</BlockSlot>
|
|
|
|
</TabularCollection>
|
2019-07-05 08:07:25 +00:00
|
|
|
{{else}}
|
|
|
|
<p>
|
|
|
|
There are no additional addresses.
|
|
|
|
</p>
|
|
|
|
{{/if}}
|