diff --git a/src/app/structure-list/models/category.model.ts b/src/app/structure-list/models/category.model.ts index b130dc1337cd4025a75a758db57e6ec79e610bae..6dc08cf79e02f99b679998be441a53fcb2ba0be9 100644 --- a/src/app/structure-list/models/category.model.ts +++ b/src/app/structure-list/models/category.model.ts @@ -16,22 +16,22 @@ export class Category { } public isBaseSkills(): boolean { - return this.name === 'Les compétences de base'; + return this.id === 'baseSkills'; } public isRigthtsAccess(): boolean { - return this.name === 'Accès aux droits'; + return this.id === 'accessRight'; } public isParentingHelp(): boolean { - return this.name === 'Aide à la parentalité'; + return this.id === 'parentingHelp'; } public isDigitalCultureSecurity(): boolean { - return this.name === 'Culture et sécurité numérique'; + return this.id === 'digitalCultureSecurity'; } public isSocialAndProfessional(): boolean { - return this.name === 'Insertion sociale et professionnelle'; + return this.id === 'socialAndProfessional'; } }