Commit fa2e60f0 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent ff954f1e
...@@ -22,8 +22,8 @@ async function run() { ...@@ -22,8 +22,8 @@ async function run() {
for (let j = 0; j < config.length; j++) { for (let j = 0; j < config.length; j++) {
levels.push(config[j].maxLevel) levels.push(config[j].total)
levelPlus.push({type:config[j].type.split('targetPercentage:false')[1],level:config[j].maxLevel}) levelPlus.push({type:config[j].type.split('targetPercentage:false')[1],level:config[j].total})
types.push(config[j].type.split('targetPercentage:false')[1]) types.push(config[j].type.split('targetPercentage:false')[1])
let dateString = config[j].dateString.split('_') let dateString = config[j].dateString.split('_')
let sideString = config[j].sideString.split('_') let sideString = config[j].sideString.split('_')
...@@ -81,7 +81,7 @@ async function run() { ...@@ -81,7 +81,7 @@ async function run() {
counter++ counter++
t=levelPlus[j].type t=levelPlus[j].type
} }
levelSort.push({level: uniqLevels[i],type:t, count: counter}) levelSort.push({total: uniqLevels[i],type:t, count: counter})
} }
for (let i = 0; i < uniqType.length; i++) { for (let i = 0; i < uniqType.length; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment