mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
fieldview ctor
This commit is contained in:
@@ -13,7 +13,11 @@ export class FieldView implements View {
|
|||||||
private _maskedValue: string;
|
private _maskedValue: string;
|
||||||
// tslint:enable
|
// tslint:enable
|
||||||
|
|
||||||
constructor(f: Field) {
|
constructor(f?: Field) {
|
||||||
|
if (!f) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this.type = f.type;
|
this.type = f.type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user