c0abe1e406
Moves all Route/model hook loading to use Outlet components which listen on route change.
21 lines
478 B
Handlebars
21 lines
478 B
Handlebars
<HeadLayout />
|
|
{{title 'Consul' separator=' - '}}
|
|
{{#if (not-eq router.currentRouteName 'application')}}
|
|
<HashicorpConsul
|
|
id="wrapper"
|
|
@permissions={{permissions}}
|
|
@dcs={{dcs}}
|
|
@dc={{or dc dcs.firstObject}}
|
|
@nspaces={{nspaces}}
|
|
@nspace={{or nspace nspaces.firstObject}}
|
|
@onchange={{action "reauthorize"}}
|
|
>
|
|
<Outlet
|
|
@name="application"
|
|
as |o|>
|
|
{{outlet}}
|
|
</Outlet>
|
|
<ConsulLoader class="view-loader" />
|
|
</HashicorpConsul>
|
|
{{/if}}
|