mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
api support for sharing
This commit is contained in:
@@ -20,7 +20,11 @@ export class IdentityData {
|
||||
passportNumber: string;
|
||||
licenseNumber: string;
|
||||
|
||||
constructor(data: IdentityApi) {
|
||||
constructor(data?: IdentityApi) {
|
||||
if (data == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.title = data.title;
|
||||
this.firstName = data.firstName;
|
||||
this.middleName = data.middleName;
|
||||
|
||||
Reference in New Issue
Block a user