diff --git a/src/app/main/component/events/components/events-list/events-list.component.ts b/src/app/main/component/events/components/events-list/events-list.component.ts index f2de32a42a..069ddd6ba1 100644 --- a/src/app/main/component/events/components/events-list/events-list.component.ts +++ b/src/app/main/component/events/components/events-list/events-list.component.ts @@ -129,11 +129,16 @@ export class EventsListComponent implements OnInit, OnDestroy { this.selectedFilters.splice(existingFilterIndex, 1); this.deleteFromEventFilterCriteria(value, dropdownName); this.checkAllSelectedFilters(value, optionsList, dropdownName, filterList); - } else if (event.isUserInput && !event.source.selected) { + } + + if (event.isUserInput && !event.source.selected) { this.checkAllSelectedFilters(value, optionsList, dropdownName, filterList); - } else if (!event.source.selected) { + } + + if (!event.source.selected) { this.deleteFromEventFilterCriteria(value, dropdownName); } + if (!isUserInput && event.source.selected) { this.selectedFilters.push(value); this.addToEventFilterCriteria(value, dropdownName);