Skip to content

Commit

Permalink
update filter mode when ALL row is removed in include table (#2131)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yagnik56 authored Nov 26, 2024
1 parent aa14412 commit dfb995b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,9 @@ export class ExperimentParticipantsComponent implements OnInit {
}

removeMember1(groupIndex: number) {
if (groupIndex === 0 && this.members1.controls.at(0).get('type').value === 'All') {
this.participantsForm.get('inclusionCriteria').setValue(INCLUSION_CRITERIA.INCLUDE_SPECIFIC);
}
this.members1.removeAt(groupIndex);
this.experimentDesignStepperService.experimentStepperDataChanged();
this.updateView1();
Expand Down

0 comments on commit dfb995b

Please sign in to comment.