{{ "newOrganization" | i18n }}
+{{ "newOrganizationDesc" | i18n }}
+From f5245a280e1cab5bae613d35e5aacf33983d173e Mon Sep 17 00:00:00 2001
From: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com>
Date: Wed, 11 May 2022 15:39:39 -0400
Subject: [PATCH] [bug:euvr] Create Organization Updates (#1664)
---
src/app/accounts/login.component.ts | 2 +-
src/app/accounts/register.component.ts | 2 +-
.../organization-switcher.component.html | 2 +-
.../components/organization-filter.component.html | 6 +++---
src/app/oss-routing.module.ts | 10 +++++-----
.../settings/create-organization.component.html | 14 ++++++++++----
src/app/vault/share.component.html | 2 +-
7 files changed, 22 insertions(+), 16 deletions(-)
diff --git a/src/app/accounts/login.component.ts b/src/app/accounts/login.component.ts
index 21a1f6d02e..524137a680 100644
--- a/src/app/accounts/login.component.ts
+++ b/src/app/accounts/login.component.ts
@@ -74,7 +74,7 @@ export class LoginComponent extends BaseLoginComponent {
if (qParams.premium != null) {
this.routerService.setPreviousUrl("/settings/premium");
} else if (qParams.org != null) {
- const route = this.router.createUrlTree(["settings/create-organization"], {
+ const route = this.router.createUrlTree(["create-organization"], {
queryParams: { plan: qParams.org },
});
this.routerService.setPreviousUrl(route.toString());
diff --git a/src/app/accounts/register.component.ts b/src/app/accounts/register.component.ts
index fd2f3b567d..542bb8e3cb 100644
--- a/src/app/accounts/register.component.ts
+++ b/src/app/accounts/register.component.ts
@@ -71,7 +71,7 @@ export class RegisterComponent extends BaseRegisterComponent {
} else if (qParams.org != null) {
this.showCreateOrgMessage = true;
this.referenceData.flow = qParams.org;
- const route = this.router.createUrlTree(["settings/create-organization"], {
+ const route = this.router.createUrlTree(["create-organization"], {
queryParams: { plan: qParams.org },
});
this.routerService.setPreviousUrl(route.toString());
diff --git a/src/app/components/organization-switcher.component.html b/src/app/components/organization-switcher.component.html
index 69bf5e59e8..7975fd9e1b 100644
--- a/src/app/components/organization-switcher.component.html
+++ b/src/app/components/organization-switcher.component.html
@@ -58,7 +58,7 @@