1
0
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:
Kyle Spearrin
2018-06-12 11:45:02 -04:00
parent 5db55496c2
commit b3f71ed8e4
27 changed files with 371 additions and 12 deletions

View File

@@ -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;