diff --git a/apps/web/src/app/tools/import/import-web.component.ts b/apps/web/src/app/tools/import/import-web.component.ts index d29212a08b..a4c64728aa 100644 --- a/apps/web/src/app/tools/import/import-web.component.ts +++ b/apps/web/src/app/tools/import/import-web.component.ts @@ -34,7 +34,7 @@ export class ImportWebComponent implements OnInit { * Callback that is called after a successful import. */ protected async onSuccessfulImport(organizationId: string): Promise { - if (!organizationId) { + if (!this.routeOrgId) { await this.router.navigate(["vault"]); return; }