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
}))