10 lines
259 B
Handlebars
10 lines
259 B
Handlebars
|
<Route
|
||
|
@name={{routeName}}
|
||
|
as |route|>
|
||
|
{{#if (eq route.model.item.Checks.length 0)}}
|
||
|
{{did-insert (route-action 'replaceWith' 'dc.nodes.show.services')}}
|
||
|
{{else}}
|
||
|
{{did-insert (route-action 'replaceWith' 'dc.nodes.show.healthchecks')}}
|
||
|
{{/if}}
|
||
|
</Route>
|