mirror of
https://github.com/hashicorp/vault.git
synced 2025-12-24 10:51:55 +01:00
UI: [VAULT-19693] Only make vault configuration call when in root namespace (#23394)
This commit is contained in:
parent
c2952e3f44
commit
ed76e17766
@ -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…
x
Reference in New Issue
Block a user