Use Map.get to retrieve data

This commit is contained in:
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

View file

@ -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;