Fixed push undefined eror

ref #104
This commit is contained in:
Nicolai Ort 2021-01-19 17:41:00 +01:00
parent 3b06d1a6ef
commit 2eb26e4e38
1 changed files with 1 additions and 0 deletions

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());
}