From 00fb194dc217900f6a20c73866372ca9a1d42955 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sun, 30 May 2021 00:15:46 +0200 Subject: [PATCH] Only show the top ten contributors --- UI/BigComponents/AttributionPanel.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UI/BigComponents/AttributionPanel.ts b/UI/BigComponents/AttributionPanel.ts index 2ab3fe2f32..760ec9b85d 100644 --- a/UI/BigComponents/AttributionPanel.ts +++ b/UI/BigComponents/AttributionPanel.ts @@ -72,7 +72,8 @@ export default class AttributionPanel extends Combine { const total = contributors.contributors.length; let filtered = contributors.contributors - .splice(10, total - 10); + + filtered.splice(10, total - 10); let contribsStr = filtered.map(c => c.contributor) .join(", ")