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:
Kianna
2023-08-24 13:30:45 -07:00
committed by GitHub
parent d06b57e6f8
commit 8835514e76
70 changed files with 2244 additions and 92 deletions

View File

@@ -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)}`;
},
});