mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
should be inverse
This commit is contained in:
@@ -88,14 +88,14 @@ export class IdentityView implements View {
|
|||||||
|
|
||||||
get fullAddress(): string {
|
get fullAddress(): string {
|
||||||
let address = this.address1;
|
let address = this.address1;
|
||||||
if (Utils.isNullOrWhitespace(this.address2)) {
|
if (!Utils.isNullOrWhitespace(this.address2)) {
|
||||||
if (Utils.isNullOrWhitespace(address)) {
|
if (!Utils.isNullOrWhitespace(address)) {
|
||||||
address += ', ';
|
address += ', ';
|
||||||
}
|
}
|
||||||
address += this.address2;
|
address += this.address2;
|
||||||
}
|
}
|
||||||
if (Utils.isNullOrWhitespace(this.address3)) {
|
if (!Utils.isNullOrWhitespace(this.address3)) {
|
||||||
if (Utils.isNullOrWhitespace(address)) {
|
if (!Utils.isNullOrWhitespace(address)) {
|
||||||
address += ', ';
|
address += ', ';
|
||||||
}
|
}
|
||||||
address += this.address3;
|
address += this.address3;
|
||||||
|
|||||||
Reference in New Issue
Block a user