{{#if this.showEnable}} {{#with (find-by "type" this.mountModel.type this.mountTypes) as |typeInfo|}} {{#if (eq this.mountType "auth")}} {{concat "Enable " typeInfo.displayName " Authentication Method"}} {{else}} {{concat "Enable " typeInfo.displayName " Secrets Engine"}} {{/if}} {{/with}} {{else if (eq this.mountType "auth")}} Enable an Authentication Method {{else}} Enable a Secrets Engine {{/if}}

{{#if this.showEnable}} {{else}} {{#each (array "generic" "cloud" "infra") as |category|}}

{{capitalize category}}

{{#each (filter-by "category" category this.mountTypes) as |type|}} {{/each}}
{{/each}} {{/if}}
{{#if this.showEnable}}
{{else}} {{/if}}