From c0add56610b23ee2cdfb53f2a31100eb67b962e4 Mon Sep 17 00:00:00 2001 From: Jai <41024828+ChaiWithJai@users.noreply.github.com> Date: Fri, 17 Dec 2021 09:46:29 -0500 Subject: [PATCH] fix: more descriptive parameters in sort function Co-authored-by: Luiz Aoqui --- ui/app/controllers/clients/client/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/controllers/clients/client/index.js b/ui/app/controllers/clients/client/index.js index a1d6f37b0..d6da57e68 100644 --- a/ui/app/controllers/clients/client/index.js +++ b/ui/app/controllers/clients/client/index.js @@ -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