mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
api support for sharing
This commit is contained in:
@@ -7,7 +7,10 @@ export class FieldData {
|
||||
name: string;
|
||||
value: string;
|
||||
|
||||
constructor(response: FieldApi) {
|
||||
constructor(response?: FieldApi) {
|
||||
if (response == null) {
|
||||
return;
|
||||
}
|
||||
this.type = response.type;
|
||||
this.name = response.name;
|
||||
this.value = response.value;
|
||||
|
||||
Reference in New Issue
Block a user