mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
full address part 2
This commit is contained in:
@@ -102,4 +102,14 @@ export class IdentityView implements View {
|
|||||||
}
|
}
|
||||||
return address;
|
return address;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get fullAddressPart2(): string {
|
||||||
|
if (this.city == null && this.state == null && this.postalCode == null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
const city = this.city || '-';
|
||||||
|
const state = this.state || '-';
|
||||||
|
const postalCode = this.postalCode || '-';
|
||||||
|
return city + ', ' + state + ', ' + postalCode;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user