diff --git a/apps/web/src/app/organizations/tools/export.component.ts b/apps/web/src/app/organizations/tools/export.component.ts index a666df8db1..9589e6fdb2 100644 --- a/apps/web/src/app/organizations/tools/export.component.ts +++ b/apps/web/src/app/organizations/tools/export.component.ts @@ -78,4 +78,9 @@ export class ExportComponent extends BaseExportComponent { getFileName() { return super.getFileName("org"); } + + async collectEvent(): Promise { + // TODO + // await this.eventService.collect(EventType.Organization_ClientExportedVault); + } } diff --git a/apps/web/src/app/tools/export.component.ts b/apps/web/src/app/tools/export.component.ts index d3db6496bf..727eb4e0c8 100644 --- a/apps/web/src/app/tools/export.component.ts +++ b/apps/web/src/app/tools/export.component.ts @@ -1,4 +1,4 @@ -import { Component, EventEmitter, Output, ViewChild, ViewContainerRef } from "@angular/core"; +import { Component, ViewChild, ViewContainerRef } from "@angular/core"; import { FormBuilder, FormControl } from "@angular/forms"; import { ExportComponent as BaseExportComponent } from "@bitwarden/angular/components/export.component"; @@ -82,7 +82,6 @@ export class ExportComponent extends BaseExportComponent { modalTitle = "confirmVaultExport"; } - const entityId = await this.stateService.getUserId(); try { if ( await this.userSecretPromptService.showPasswordPrompt( diff --git a/libs/angular/src/components/user-secret-prompt.component.ts b/libs/angular/src/components/user-secret-prompt.component.ts index 9e174672c5..92cb93d29a 100644 --- a/libs/angular/src/components/user-secret-prompt.component.ts +++ b/libs/angular/src/components/user-secret-prompt.component.ts @@ -1,5 +1,5 @@ import { Directive } from "@angular/core"; -import { FormBuilder, FormControl, FormGroup } from "@angular/forms"; +import { FormBuilder, FormControl } from "@angular/forms"; import { CryptoService } from "@bitwarden/common/abstractions/crypto.service"; import { I18nService } from "@bitwarden/common/abstractions/i18n.service";