Fixed push undefined eror

ref #104
This commit is contained in:
2021-01-19 17:41:00 +01:00
parent 3b06d1a6ef
commit 2eb26e4e38

View File

@@ -68,6 +68,7 @@ export class ResponseGroupContact {
this.phone = contact.phone;
this.email = contact.email;
this.address = contact.address;
this.groups = new Array<ResponseRunnerGroup>();
for (let group of contact.groups) {
this.groups.push(group.toResponse());
}