mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-02 18:17:46 +01:00
Rename ErrorList to ErrorListItem
This commit is contained in:
parent
685f870ce6
commit
a7dd643710
@ -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<ErrorList>();
|
||||
protected dataSource = new TableDataSource<ErrorListItem>();
|
||||
|
||||
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 });
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user