open-consul/ui/packages/consul-ui/app/templates/dc/nodes/show/metadata.hbs

18 lines
335 B
Handlebars

<Route
@name={{routeName}}
as |route|>
<div class="tab-section">
{{#if item.Meta}}
<Consul::Metadata::List @items={{entries item.Meta}} />
{{else}}
<EmptyState>
<BlockSlot @name="body">
<p>
This node has no metadata.
</p>
</BlockSlot>
</EmptyState>
{{/if}}
</div>
</Route>