From 5815f36ee299d65f9eb106db8d1a8d956ef3e0c8 Mon Sep 17 00:00:00 2001 From: Andrew Guy Date: Thu, 17 Aug 2023 23:06:20 +1000 Subject: [PATCH] Use Map.get to retrieve data --- components/lib/datatable/DataTable.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/lib/datatable/DataTable.vue b/components/lib/datatable/DataTable.vue index 9315ab050..6d946cf90 100755 --- a/components/lib/datatable/DataTable.vue +++ b/components/lib/datatable/DataTable.vue @@ -775,8 +775,8 @@ export default { } data.sort((data1, data2) => { - let value1 = lookupMap(data1); - let value2 = lookupMap(data2); + let value1 = lookupMap.get(data1); + let value2 = lookupMap.get(data2); let result = null;