From 22e33d6b42a324eeee7ada29360d6a64e4624b9a Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Sat, 18 Apr 2020 17:45:13 +0300 Subject: [PATCH] Remove unused param --- src/components/datatable/DataTable.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/datatable/DataTable.vue b/src/components/datatable/DataTable.vue index 2207d9a5e..e3ad69448 100644 --- a/src/components/datatable/DataTable.vue +++ b/src/components/datatable/DataTable.vue @@ -566,9 +566,9 @@ export default { return (this.d_multiSortMeta[index].order * result); }, - addMultiSortField(field, metaKey) { + addMultiSortField(field) { let index = this.d_multiSortMeta.findIndex(meta => meta.field === field); - + if (index >= 0) { if (this.removableSort && (this.d_multiSortMeta[index].order * -1 === this.defaultSortOrder)) this.d_multiSortMeta.splice(index, 1);