244157786a
This is the result of running the no-implicit-this-codemod, some manual fixes, and the addition of a linting rule to prevent future ambiguity.
13 lines
354 B
Handlebars
13 lines
354 B
Handlebars
{{title "Server " this.model.name}}
|
|
<ServerSubnav @server={{this.model}} />
|
|
<section class="section is-full-width">
|
|
{{#if (can "read agent")}}
|
|
<AgentMonitor
|
|
@level={{this.level}}
|
|
@server={{this.model}}
|
|
@onLevelChange={{action (mut this.level)}} />
|
|
{{else}}
|
|
<ForbiddenMessage @permission="agent:read" />
|
|
{{/if}}
|
|
</section>
|