open-consul/ui-v2/app/components/consul-metadata-list/index.hbs

21 lines
432 B
Handlebars

<TabularCollection
data-test-metadata
class="consul-metadata-list"
@items={{items}} as |item index|
>
<BlockSlot @name="header">
<th>Key</th>
<th>Value</th>
</BlockSlot>
<BlockSlot @name="row">
<td>
<span>
{{object-at 0 item}}
</span>
</td>
<td>
<span>{{object-at 1 item}}</span>
</td>
</BlockSlot>
</TabularCollection>