diff --git a/ui/desktop/app/routes/scopes/scope/projects/targets/target/hosts.js b/ui/desktop/app/routes/scopes/scope/projects/targets/target/hosts.js index bfc76764c..8b23f7025 100644 --- a/ui/desktop/app/routes/scopes/scope/projects/targets/target/hosts.js +++ b/ui/desktop/app/routes/scopes/scope/projects/targets/target/hosts.js @@ -1,5 +1,5 @@ import Route from '@ember/routing/route'; -import { all, hash } from 'rsvp'; +import { all } from 'rsvp'; import { A } from '@ember/array'; export default class ScopesScopeProjectsTargetsTargetHostsRoute extends Route { diff --git a/ui/desktop/app/templates/scopes/scope/projects/targets/target/-header.hbs b/ui/desktop/app/templates/scopes/scope/projects/targets/target/-header.hbs index b6ddb6476..695e13318 100644 --- a/ui/desktop/app/templates/scopes/scope/projects/targets/target/-header.hbs +++ b/ui/desktop/app/templates/scopes/scope/projects/targets/target/-header.hbs @@ -1,4 +1,4 @@

- {{model.displayName}} + {{@model.displayName}}

-

{{model.description}}

\ No newline at end of file +

{{@model.description}}

\ No newline at end of file diff --git a/ui/desktop/app/templates/scopes/scope/projects/targets/target/hosts.hbs b/ui/desktop/app/templates/scopes/scope/projects/targets/target/hosts.hbs index 6cf921efd..a925671d7 100644 --- a/ui/desktop/app/templates/scopes/scope/projects/targets/target/hosts.hbs +++ b/ui/desktop/app/templates/scopes/scope/projects/targets/target/hosts.hbs @@ -1,23 +1,19 @@ {{page-title (t "resources.host-set.title_plural")}} -{{#if @model}} - - - - {{#each @model as |host|}} - - - {{host.displayName}} -

{{host.description}}

-
- {{host.id}} - {{host.attributes.address}} - - {{t (concat 'resources.host.types.' host.type)}} - -
- {{/each}} -
-
- -{{/if}} + + + {{#each @model as |host|}} + + + {{host.displayName}} +

{{host.description}}

+
+ {{host.id}} + {{host.attributes.address}} + + {{t (concat 'resources.host.types.' host.type)}} + +
+ {{/each}} +
+