Commit 169f653e authored by Tifenn Guillas's avatar Tifenn Guillas
Browse files

Consider using "forEach" instead of "map" as its return value is not being used here

parent f93365c5
......@@ -59,7 +59,7 @@ export class CheckboxComponent {
this.checkboxes.enable();
} else {
const checkboxCriterion = criterion as SelectMultipleCriterion;
checkboxCriterion.options.map(option => {
checkboxCriterion.options.forEach(option => {
this.checkboxesFormControls.find(formControl => formControl.value === option.value).control.setValue(true);
});
this.checkboxes.disable();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment