do not print if config is null
This commit is contained in:
parent
57848ff29b
commit
63f206cc6a
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ export abstract class NewsletterHelper {
|
||||||
return [];
|
return [];
|
||||||
} else {
|
} else {
|
||||||
let members = await MemberService.getAll({ noLimit: true, ids: queryMemberIds });
|
let members = await MemberService.getAll({ noLimit: true, ids: queryMemberIds });
|
||||||
return members[0];
|
return members[0].filter((m) => m.sendNewsletter != null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue