Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Remove country limit of 10 items

Chocobozzz04509c43254d
diff --git a/client/src/app/+stats/video/video-stats.component.ts b/client/src/app/+stats/video/video-stats.component.ts
index bfad4f8236..18312ec333 100644
--- a/client/src/app/+stats/video/video-stats.component.ts
+++ b/client/src/app/+stats/video/video-stats.component.ts
@@ -175,7 +175,7 @@ export class VideoStatsComponent implements OnInit {
this.statsService.getOverallStats({ videoId: this.video.uuid, startDate: this.statsStartDate, endDate: this.statsEndDate })
.subscribe({
next: res => {
- this.countries = res.countries.slice(0, 10).map(c => ({
+ this.countries = res.countries.map(c => ({
name: this.countryCodeToName(c.isoCode),
viewers: c.viewers
}))