diff --git a/src/app/profile/structure-edition-summary/structure-edition-summary.component.ts b/src/app/profile/structure-edition-summary/structure-edition-summary.component.ts index 292deb43f37ae2ceb0e1f83a78f01410160fd60f..2bc4dd48145303e60ba14b5302c5bc8b6c56bb99 100644 --- a/src/app/profile/structure-edition-summary/structure-edition-summary.component.ts +++ b/src/app/profile/structure-edition-summary/structure-edition-summary.component.ts @@ -135,7 +135,7 @@ export class StructureEditionSummaryComponent implements OnInit { const skillsMap = new Map<string, Category>(); this.categories .filter((category) => category.id === CategoryEnum.baseSkills || category.id === CategoryEnum.advancedSkills) - .map((category) => { + .forEach((category) => { skillsMap.set(category.id, category); });