Skip to content
Snippets Groups Projects
Commit 01f021f8 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix(profil): structure adresse with no number

parent 9e75d226
Branches
Tags
Loading
......@@ -71,7 +71,9 @@ export class ProfileStructureComponent implements OnInit {
public getAddress(): string {
const address = this.structureWithOwners.structure.address;
return address.numero + ' ' + address.street + ' - ' + address.commune;
return address.numero
? address.numero + ' ' + address.street + ' - ' + address.commune
: address.street + ' - ' + address.commune;
}
public closeAddMemberModal(memberAddRequested: boolean): void {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment