diff --git a/src/app/form/orientation-form-view/orientation-form-view.component.ts b/src/app/form/orientation-form-view/orientation-form-view.component.ts index 03278383e563988023580b9c227cb29570b3a844..51975ce9c0338d9a9b82ae9ec02694874dacc89d 100644 --- a/src/app/form/orientation-form-view/orientation-form-view.component.ts +++ b/src/app/form/orientation-form-view/orientation-form-view.component.ts @@ -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 {