UI: Bugfix: VAULT-9343 fix key management key view bug (#18808)
* VAULT-9343 fix key management key view bug * Add changelog * Update changelog name * Address feedback! * Check if provider or key
This commit is contained in:
parent
e873d27e83
commit
375433923e
|
@ -0,0 +1,3 @@
|
|||
```release-note:bug
|
||||
ui: fixes keymgmt key details page
|
||||
``
|
|
@ -4,7 +4,7 @@ export function secretQueryParams([backendType, type = ''], { asQueryParams }) {
|
|||
const values = {
|
||||
transit: { tab: 'actions' },
|
||||
database: { type },
|
||||
keymgmt: { itemType: type || 'key' },
|
||||
keymgmt: { itemType: type === 'provider' ? 'provider' : 'key' },
|
||||
}[backendType];
|
||||
// format required when using LinkTo with positional params
|
||||
if (values && asQueryParams) {
|
||||
|
|
Loading…
Reference in New Issue