diff --git a/ui-v2/app/components/consul-external-source/index.hbs b/ui-v2/app/components/consul-external-source/index.hbs index b18e8e302..f2e7e8c2f 100644 --- a/ui-v2/app/components/consul-external-source/index.hbs +++ b/ui-v2/app/components/consul-external-source/index.hbs @@ -6,7 +6,7 @@ (component 'consul-external-source' item=item _externalSource=externalSource) }} {{else}} - + {{#if (eq externalSource 'aws')}} Registered via {{uppercase externalSource}} {{else}} diff --git a/ui-v2/app/components/consul-kind/index.hbs b/ui-v2/app/components/consul-kind/index.hbs new file mode 100644 index 000000000..2d7bbce76 --- /dev/null +++ b/ui-v2/app/components/consul-kind/index.hbs @@ -0,0 +1,11 @@ +{{#if item.Kind}} + {{#if (has-block)}} + {{yield + (component 'consul-kind' item=item) + }} + {{else}} + + {{titleize (humanize item.Kind)}} + + {{/if}} +{{/if}} diff --git a/ui-v2/app/components/consul-kind/index.js b/ui-v2/app/components/consul-kind/index.js new file mode 100644 index 000000000..479865264 --- /dev/null +++ b/ui-v2/app/components/consul-kind/index.js @@ -0,0 +1,5 @@ +import Component from '@ember/component'; + +export default Component.extend({ + tagName: '', +}); diff --git a/ui-v2/app/components/consul-service-list/index.hbs b/ui-v2/app/components/consul-service-list/index.hbs index 50f53c7c7..432c90c8e 100644 --- a/ui-v2/app/components/consul-service-list/index.hbs +++ b/ui-v2/app/components/consul-service-list/index.hbs @@ -5,6 +5,11 @@ {{item.Name}}