mirror of
https://github.com/status-im/consul.git
synced 2025-01-31 16:07:58 +00:00
5dad95faf1
We previoulsy had some pretty straightforward duplicated code for rendering our metadata list for both Service Metadata and Node Metadata. This moves this code into a component.
8 lines
145 B
Handlebars
8 lines
145 B
Handlebars
{{#if item.Meta}}
|
|
<ConsulMetadataList @items={{object-entries item.Meta}} />
|
|
{{else}}
|
|
<p>
|
|
This instance has no meta data.
|
|
</p>
|
|
{{/if}}
|