mirror of https://github.com/web3privacy/web
leaderboard: fix numbers
This commit is contained in:
parent
41721af29b
commit
68885acfdc
|
@ -18,7 +18,7 @@ for (const c of contributors) {
|
|||
function getPoint (num){
|
||||
const key = `c:${num}`
|
||||
const obj = points[key];
|
||||
return `${obj.start+1}${obj.arr.length > 1 ? '-'+(obj.start+1+obj.arr.length) : ''}`;
|
||||
return `${obj.start+1}${obj.arr.length > 1 ? '-'+(obj.start+obj.arr.length) : ''}`;
|
||||
}
|
||||
|
||||
---
|
||||
|
|
Loading…
Reference in New Issue