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

fix(orientation): onlineProcedure was unnecessarily cut

parent 475afb6a
No related branches found
No related tags found
3 merge requests!418V2.1.0,!400V2.0,!230V2.0
......@@ -197,7 +197,7 @@ export class OrientationFormViewComponent implements OnInit, AfterContentChecked
const onlineProcedures: Filter[] = this.onlineDemarchForm.value.onlineDemarcheType.map((module: Module) => {
return new Filter('onlineProcedures', module.id, module.displayText);
});
if (onlineProcedures.length > 0) this.filters.push(onlineProcedures[0]);
if (onlineProcedures.length > 0) this.filters = [...onlineProcedures, ...this.filters];
}
public setFilters(category: string): void {
......
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