]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+stats/video/video-stats.component.ts
Use pvar() instead of SCSS variables
[github/Chocobozzz/PeerTube.git] / client / src / app / +stats / video / video-stats.component.ts
index bfad4f8236ee4dafa10fc2e9219bbca12342b33b..18312ec333ca4a050e2621c3e76e30a643049d5c 100644 (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
           }))