diff --git a/apps/web/src/app/tools/import-export/dialog/import-error-dialog.component.ts b/apps/web/src/app/tools/import-export/dialog/import-error-dialog.component.ts index 6dc8d03909..abb68cf53b 100644 --- a/apps/web/src/app/tools/import-export/dialog/import-error-dialog.component.ts +++ b/apps/web/src/app/tools/import-export/dialog/import-error-dialog.component.ts @@ -3,7 +3,7 @@ import { Component, Inject, OnInit } from "@angular/core"; import { TableDataSource } from "@bitwarden/components"; -export interface ErrorList { +export interface ErrorListItem { type: string; message: string; } @@ -13,7 +13,7 @@ export interface ErrorList { templateUrl: "./import-error-dialog.component.html", }) export class ImportErrorDialogComponent implements OnInit { - protected dataSource = new TableDataSource(); + protected dataSource = new TableDataSource(); constructor(public dialogRef: DialogRef, @Inject(DIALOG_DATA) public data: Error) {} @@ -24,7 +24,7 @@ export class ImportErrorDialogComponent implements OnInit { return; } - const data: ErrorList[] = []; + const data: ErrorListItem[] = []; split.forEach((line) => { data.push({ type: "", message: line }); });