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

20 lines
401 B
Handlebars

<TabularCollection
data-test-metadata
@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>