Browse Source

Remove country limit of 10 items

Chocobozzz 1 year ago
parent
commit
04509c4325
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/src/app/+stats/video/video-stats.component.ts

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