Skip to content
Snippets Groups Projects
Commit 75ec3db8 authored by Etienne LOUPIAS's avatar Etienne LOUPIAS
Browse files

fix(filter): active training filter when onlineProcedures filter is selected

parent eaf45c37
Branches
Tags
1 merge request!846V3.1.0 (sans impression)
......@@ -136,7 +136,8 @@ export class StructureListSearchComponent implements OnInit {
public countCheckFiltersOnModules(checkedModules: Module[]): void {
this.numberAccompanimentChecked = checkedModules.filter((module) => module.name === 'onlineProcedures').length;
this.numberTrainingChecked = checkedModules.filter(
(module) => module.name === 'baseSkills' || module.name === 'advancedSkills',
(module) =>
module.name === 'onlineProcedures' || module.name === 'baseSkills' || module.name === 'advancedSkills',
).length;
this.numberPublicChecked = checkedModules.filter(
(module) =>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment