chore: Fix eslint errors

This commit is contained in:
Susmitha Girumala committed 2021-02-03 14:39:24 -05:00
1 parent 621c8ec2f1
commit faa90a8be1
3 files changed
+20 -24

No files matched your search

@@ -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 {
@@ -1,4 +1,4 @@
<h2>
{{model.displayName}}
{{@model.displayName}}
</h2>
<p>{{model.description}}</p>
<p>{{@model.description}}</p>
@@ -1,23 +1,19 @@
{{page-title (t "resources.host-set.title_plural")}}
{{#if @model}}
<Rose::Table as |table|>
<table.body as |body|>
{{#each @model as |host|}}
<body.row as |row|>
<row.cell>
{{host.displayName}}
<p>{{host.description}}</p>
</row.cell>
<row.cell>{{host.id}}</row.cell>
<row.cell>{{host.attributes.address}}</row.cell>
<row.cell>
<Rose::Badge>{{t (concat 'resources.host.types.' host.type)}}</Rose::Badge>
</row.cell>
</body.row>
{{/each}}
</table.body>
</Rose::Table>
{{/if}}
<Rose::Table as |table|>
<table.body as |body|>
{{#each @model as |host|}}
<body.row as |row|>
<row.cell>
{{host.displayName}}
<p>{{host.description}}</p>
</row.cell>
<row.cell>{{host.id}}</row.cell>
<row.cell>{{host.attributes.address}}</row.cell>
<row.cell>
<Rose::Badge>{{t (concat 'resources.host.types.' host.type)}}</Rose::Badge>
</row.cell>
</body.row>
{{/each}}
</table.body>
</Rose::Table>