speedup player List sorting

This commit is contained in:
2023-05-01 15:23:25 +02:00
parent 91977ded3d
commit b78072d385
4 changed files with 74 additions and 71 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ export default defineComponent({
datalabels: {
formatter: (value: any, context: any) => {
const weaponId = this.sortedWeaponList[context.dataIndex]
if (!(weapons as {[key:string]:string})[weaponId]) console.log(weaponId)
// if (!(weapons as {[key:string]:string})[weaponId]) console.log(weaponId)
return (weapons as {[key:string]:string})[weaponId] || weaponId
},
backgroundColor: (context: any) => {