diff --git a/src/frontend/app/indexation/indexation.component.ts b/src/frontend/app/indexation/indexation.component.ts index 4e7c3896205b2d10c59dc55e28b7a20ddb1126aa..79960770110b7e4c5c7a687ca28b2b5b2aa5a203 100644 --- a/src/frontend/app/indexation/indexation.component.ts +++ b/src/frontend/app/indexation/indexation.component.ts @@ -121,16 +121,12 @@ export class IndexationComponent implements OnInit { component: action.component, enabled: action.enabled, default: index === 0 ? true : false, - categoryUse: action.categoryUse + categoryUse: action.categories } }); return data; }), - tap((data: any) => { - // TO DO : REMOVE AFTER BACK - data.actions[0].categoryUse = ['incoming','outgoing']; - data.actions[1].categoryUse = ['outgoing']; - + tap((data: any) => { this.selectedAction = data.actions[0]; this.actionsList = data.actions; }),