mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2026-01-10 22:21:40 +00:00
22 lines
643 B
Handlebars
22 lines
643 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
~}}
|
|
|
|
<div ...attributes>
|
|
<ToggleButton
|
|
@isOpen={{this.showConfig}}
|
|
@openLabel="Hide mount configuration"
|
|
@closedLabel="Show mount configuration"
|
|
@onClick={{fn (mut this.showConfig) (not this.showConfig)}}
|
|
class="is-block"
|
|
data-test-mount-config-toggle
|
|
/>
|
|
{{#if this.showConfig}}
|
|
{{#each this.fields as |field|}}
|
|
<InfoTableRow @label={{field.label}} @value={{field.value}} data-test-mount-config-field={{field.label}} />
|
|
{{/each}}
|
|
{{! block for additional fields that may be engine specific }}
|
|
{{yield}}
|
|
{{/if}}
|
|
</div> |