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

feat(orientation): only free or underCondition for skills orientation

parent eaa7aaf5
Branches
Tags
2 merge requests!907V3.2.0,!903Resolve "[Orientation] - Page d'intro"
<div class="orientationForm">
<h2>Quel est le besoin numérique de la personne&nbsp;?</h2>
<div class="title">
<h2>Quel est le besoin numérique de la personne&nbsp;?</h2>
<p>Seules les offres gratuites ou soumises à une adhésion à faible coût vous seront proposées</p>
</div>
<div class="tagList">
<app-tag-item
......
......@@ -311,6 +311,11 @@ export class OrientationFormViewComponent implements OnInit, AfterContentChecked
this.filters = this.filtersForm.value.filters.map((module: Module) => {
return new Filter(this.needType, module.id, module.displayText);
});
// For skills orientation, only show by default structures with free or underCondition workshops
if (this.needType === NeedsTypes.baseSkills) {
this.filters.push(new Filter('freeWorkShop', 'yes', 'Accompagnements gratuits'));
this.filters.push(new Filter('freeWorkShop', 'underCondition', 'Accompagnements gratuits sous conditions'));
}
this.startsAccompanimentTunnel();
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment