Use Map.get to retrieve data

pull/4008/head
Andrew Guy 2023-08-17 23:06:20 +10:00 committed by GitHub
parent 7073144f48
commit 5815f36ee2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -775,8 +775,8 @@ export default {
} }
data.sort((data1, data2) => { data.sort((data1, data2) => {
let value1 = lookupMap(data1); let value1 = lookupMap.get(data1);
let value2 = lookupMap(data2); let value2 = lookupMap.get(data2);
let result = null; let result = null;