diff --git a/ui/admin/app/components/form/target/add-host-sets/index.hbs b/ui/admin/app/components/form/target/add-host-sets/index.hbs index b96753741..241489b42 100644 --- a/ui/admin/app/components/form/target/add-host-sets/index.hbs +++ b/ui/admin/app/components/form/target/add-host-sets/index.hbs @@ -33,11 +33,33 @@ /> {{hostSet.name}} - - {{t - (concat 'resources.host-catalog.types.' hostSet.type '.label') - }} - + {{#if hostSet.isPlugin}} + + {{t + (concat + 'resources.host-catalog.types.' + hostSet.compositeType + '.label' + ) + }} + + {{else}} + + {{t + (concat + 'resources.host-catalog.types.' + hostSet.compositeType + '.label' + ) + }} + + {{/if}} {{hostSet.host_catalog_id}} diff --git a/ui/admin/app/templates/scopes/scope/targets/target/host-sources.hbs b/ui/admin/app/templates/scopes/scope/targets/target/host-sources.hbs index be374ae3d..3dce601fb 100644 --- a/ui/admin/app/templates/scopes/scope/targets/target/host-sources.hbs +++ b/ui/admin/app/templates/scopes/scope/targets/target/host-sources.hbs @@ -38,9 +38,34 @@

{{hostSet.model.description}}

- {{t - (concat 'resources.host-catalog.types.' hostSet.model.type '.label') - }} + {{#if hostSet.model.isPlugin}} + + {{t + (concat + 'resources.host-catalog.types.' + hostSet.model.compositeType + '.label' + ) + }} + + {{else}} + + {{t + (concat + 'resources.host-catalog.types.' + hostSet.model.compositeType + '.label' + ) + }} + + {{/if}} +