mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-10 17:32:29 -04:00
UI: [VAULT-19693] Only make vault configuration call when in root namespace (#23394)
This commit is contained in:
parent
c2952e3f44
commit
ed76e17766
1 changed files with 2 additions and 0 deletions
|
|
@ -17,6 +17,8 @@ export default class VaultClusterDashboardRoute extends Route.extend(ClusterRout
|
|||
|
||||
async getVaultConfiguration() {
|
||||
try {
|
||||
if (!this.namespace.inRootNamespace) return null;
|
||||
|
||||
const adapter = this.store.adapterFor('application');
|
||||
const configState = await adapter.ajax('/v1/sys/config/state/sanitized', 'GET');
|
||||
return configState.data;
|
||||
|
|
|
|||
Loading…
Reference in a new issue