mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-07 21:36:26 +02:00
* Only show back to leases button when there is a basekey * Use if statement Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
This commit is contained in:
parent
0a163df630
commit
c95abc09e6
@ -18,12 +18,14 @@
|
||||
</:breadcrumbs>
|
||||
|
||||
<:actions>
|
||||
<Hds::Button
|
||||
@text="Back to Leases"
|
||||
@color="secondary"
|
||||
@route="vault.cluster.access.leases.list-root"
|
||||
data-test-button="Back to Leases"
|
||||
/>
|
||||
{{#if this.baseKey.id}}
|
||||
<Hds::Button
|
||||
@text="Back to Leases"
|
||||
@color="secondary"
|
||||
@route="vault.cluster.access.leases.list-root"
|
||||
data-test-button="Back to Leases"
|
||||
/>
|
||||
{{/if}}
|
||||
</:actions>
|
||||
</Page::Header>
|
||||
|
||||
|
||||
@ -14,12 +14,14 @@
|
||||
/>
|
||||
</:breadcrumbs>
|
||||
<:actions>
|
||||
<Hds::Button
|
||||
@text="Back to Leases"
|
||||
@color="secondary"
|
||||
@route="vault.cluster.access.leases"
|
||||
data-test-button="Back to Leases"
|
||||
/>
|
||||
{{#if this.baseKey.id}}
|
||||
<Hds::Button
|
||||
@text="Back to Leases"
|
||||
@color="secondary"
|
||||
@route="vault.cluster.access.leases"
|
||||
data-test-button="Back to Leases"
|
||||
/>
|
||||
{{/if}}
|
||||
</:actions>
|
||||
</Page::Header>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user