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

18 lines
359 B
Handlebars

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