Fixing lint errors

This commit is contained in:
CarleyDiaz-Bitwarden 2022-06-20 17:32:19 -04:00
parent a1b1b632e0
commit 3fcb566985
3 changed files with 7 additions and 3 deletions

View File

@ -78,4 +78,9 @@ export class ExportComponent extends BaseExportComponent {
getFileName() { getFileName() {
return super.getFileName("org"); return super.getFileName("org");
} }
async collectEvent(): Promise<any> {
// TODO
// await this.eventService.collect(EventType.Organization_ClientExportedVault);
}
} }

View File

@ -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 { FormBuilder, FormControl } from "@angular/forms";
import { ExportComponent as BaseExportComponent } from "@bitwarden/angular/components/export.component"; import { ExportComponent as BaseExportComponent } from "@bitwarden/angular/components/export.component";
@ -82,7 +82,6 @@ export class ExportComponent extends BaseExportComponent {
modalTitle = "confirmVaultExport"; modalTitle = "confirmVaultExport";
} }
const entityId = await this.stateService.getUserId();
try { try {
if ( if (
await this.userSecretPromptService.showPasswordPrompt( await this.userSecretPromptService.showPasswordPrompt(

View File

@ -1,5 +1,5 @@
import { Directive } from "@angular/core"; 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 { CryptoService } from "@bitwarden/common/abstractions/crypto.service";
import { I18nService } from "@bitwarden/common/abstractions/i18n.service"; import { I18nService } from "@bitwarden/common/abstractions/i18n.service";