looking to routeOrgId instead orgId to redirect the user (#7216)

This commit is contained in:
aj-rosado 2023-12-19 18:35:03 +00:00 committed by GitHub
parent 017da06f9a
commit 7dff870c93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ export class ImportWebComponent implements OnInit {
* Callback that is called after a successful import.
*/
protected async onSuccessfulImport(organizationId: string): Promise<void> {
if (!organizationId) {
if (!this.routeOrgId) {
await this.router.navigate(["vault"]);
return;
}