{{#if showNav}} {{#if namespaceService.inRootNamespace}} {{else if (and (has-permission 'metrics' routeParams='activity') (not cluster.dr.isSecondary) auth.currentToken)}} {{/if}} {{/if}}
{{#each flashMessages.queue as |flash|}} {{#flash-message data-test-flash-message=true flash=flash as |customComponent flash close|}} {{#if flash.componentName}} {{component flash.componentName content=flash.content}} {{else}} {{/if}} {{/flash-message}} {{/each}}
{{#if showNav}}
{{outlet}}
{{else}} {{outlet}} {{/if}}