diff --git a/src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.ts b/src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.ts index e78bc96ccbd586ef6e4d1c4b7dccc5085c669b67..39d60af958976a6d8577b8fd58c25a0e368b5bf6 100644 --- a/src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.ts +++ b/src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.ts @@ -592,8 +592,12 @@ export class DatasetsComponent implements OnInit, OnDestroy { }else{ this.configuredFilters[reference[0]] = value[0] as number -1; } - }else{ - this.configuredFilters[reference[0]] = value[0] + }else if($event.controlType === 'multi-select'){ + if((value[0] as string[]).length){ + this.configuredFilters[reference[0]] = value[0] + }else{ + this.configuredFilters[reference[0]] = undefined; + } } } }