forked from MapComplete/MapComplete
Only show the top ten contributors
This commit is contained in:
parent
4e09a5584b
commit
00fb194dc2
1 changed files with 2 additions and 1 deletions
|
@ -72,7 +72,8 @@ export default class AttributionPanel extends Combine {
|
||||||
|
|
||||||
const total = contributors.contributors.length;
|
const total = contributors.contributors.length;
|
||||||
let filtered = contributors.contributors
|
let filtered = contributors.contributors
|
||||||
.splice(10, total - 10);
|
|
||||||
|
filtered.splice(10, total - 10);
|
||||||
|
|
||||||
let contribsStr = filtered.map(c => c.contributor)
|
let contribsStr = filtered.map(c => c.contributor)
|
||||||
.join(", ")
|
.join(", ")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue