1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-07-03 11:45:26 +02:00

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

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;
}