mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-07 21:10:55 +08:00
fieldview ctor
This commit is contained in:
parent
47385a2818
commit
f8cbf8b247
@ -13,7 +13,11 @@ export class FieldView implements View {
|
||||
private _maskedValue: string;
|
||||
// tslint:enable
|
||||
|
||||
constructor(f: Field) {
|
||||
constructor(f?: Field) {
|
||||
if (!f) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.type = f.type;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user