Skip to content

Commit

Permalink
Refactor #4285
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Aug 21, 2023
1 parent 17ac084 commit 278b466
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/lib/datatable/DataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,9 @@ export default {
resolvedFieldDatas.set(item, ObjectUtils.resolveFieldData(item, this.d_sortField));
}
const comparer = new Intl.Collator(undefined, { numeric: true }).compare;
data.sort((data1, data2) => {
const comparer = new Intl.Collator(undefined, { numeric: true }).compare;
let value1 = resolvedFieldDatas.get(data1);
let value2 = resolvedFieldDatas.get(data2);
Expand Down

0 comments on commit 278b466

Please sign in to comment.