mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
UI: [VAULT-12979] Dashboard Landing Page (#21057)
Co-authored-by: Chelsea Shaw <cshaw@hashicorp.com> Co-authored-by: clairebontempo@gmail.com <clairebontempo@gmail.com> Co-authored-by: Angel Garbarino <angel@hashicorp.com>
This commit is contained in:
@@ -44,8 +44,8 @@ export default Component.extend({
|
||||
window.location.hostname +
|
||||
(window.location.port ? ':' + window.location.port : '');
|
||||
|
||||
if (!this.normalizedNamespace) return `${origin}/ui/vault/secrets`;
|
||||
if (!this.normalizedNamespace) return `${origin}/ui/vault/dashboard`;
|
||||
// The full URL/origin is required so that the page is reloaded.
|
||||
return `${origin}/ui/vault/secrets?namespace=${encodeURIComponent(this.normalizedNamespace)}`;
|
||||
return `${origin}/ui/vault/dashboard?namespace=${encodeURIComponent(this.normalizedNamespace)}`;
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user