From a7dd643710fa6d68d3d7bb427437dbb84e98a1f2 Mon Sep 17 00:00:00 2001 From: Daniel James Smith Date: Tue, 5 Sep 2023 21:56:28 +0200 Subject: [PATCH] Rename ErrorList to ErrorListItem --- .../import-export/dialog/import-error-dialog.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }); });