Skip to content

Commit

Permalink
Fix empty recipients with query present
Browse files Browse the repository at this point in the history
  • Loading branch information
ericnewcomer committed Jun 28, 2024
1 parent 957ade2 commit 7a163f9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/contactsearch/ContactSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,8 @@ export class ContactSearch extends FormElement {
.map((value: OmniOption) => value.id);

if (
group_uuids.length === 0 &&
contact_uuids.length === 0 &&
!this.query
(group_uuids.length === 0 && contact_uuids.length === 0) ||
(!this.query && this.advanced)
) {
if (this.summary) {
this.summary.total = 0;
Expand Down

0 comments on commit 7a163f9

Please sign in to comment.