From 04509c43254dc232c61681ac4bb98e09fd126115 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 1 Dec 2022 09:09:20 +0100 Subject: Remove country limit of 10 items --- client/src/app/+stats/video/video-stats.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/+stats/video/video-stats.component.ts') diff --git a/client/src/app/+stats/video/video-stats.component.ts b/client/src/app/+stats/video/video-stats.component.ts index bfad4f823..18312ec33 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 })) -- cgit v1.2.3