Skip to content
Snippets Groups Projects
Commit 41f6d768 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix(carto): issue on category name after migration

parent 04799d1a
No related branches found
No related tags found
2 merge requests!2401.16 into 2.0,!2391.16.0
......@@ -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';
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment