Skip to content
Snippets Groups Projects
Commit 803f9e95 authored by Pegane Nestor's avatar Pegane Nestor
Browse files

FIX #7994 action status in right order

parent 1d621add
No related branches found
No related tags found
No related merge requests found
......@@ -396,10 +396,10 @@ export class BasketAdministrationSettingsModalComponent extends AutoCompletePlug
this.statuses = response.statuses;
response.statuses.forEach((status: any) => {
if (this.data.action.statuses.indexOf(status.id) > -1) {
this.selectedStatuses.push({idToDisplay:status.label_status,id:status.id});
this.selectedStatuses[this.data.action.statuses.indexOf(status.id)]= {idToDisplay:status.label_status,id:status.id};
}
});
});
});
}
remove(index: number): 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