aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+stats
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+stats')
-rw-r--r--client/src/app/+stats/video/video-stats.component.ts2
1 files changed, 1 insertions, 1 deletions
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 {
175 this.statsService.getOverallStats({ videoId: this.video.uuid, startDate: this.statsStartDate, endDate: this.statsEndDate }) 175 this.statsService.getOverallStats({ videoId: this.video.uuid, startDate: this.statsStartDate, endDate: this.statsEndDate })
176 .subscribe({ 176 .subscribe({
177 next: res => { 177 next: res => {
178 this.countries = res.countries.slice(0, 10).map(c => ({ 178 this.countries = res.countries.map(c => ({
179 name: this.countryCodeToName(c.isoCode), 179 name: this.countryCodeToName(c.isoCode),
180 viewers: c.viewers 180 viewers: c.viewers
181 })) 181 }))