Remove country limit of 10 items

pull/5471/head
Chocobozzz 2022-12-01 09:09:20 +01:00
parent 4d350aebf6
commit 04509c4325
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

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