fix: more descriptive parameters in sort function

Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
This commit is contained in:
Jai
2021-12-17 09:46:29 -05:00
committed by GitHub
parent 53e43acad3
commit c0add56610

View File

@@ -201,7 +201,7 @@ export default class ClientController extends Controller.extend(Sortable, Search
this.set('qpTaskGroup', serialize(intersection(taskGroups, this.selectionTaskGroup)));
});
return taskGroups.sort().map(dc => ({ key: dc, label: dc }));
return taskGroups.sort().map(tg => ({ key: tg, label: tg }));
}
@action