diff options
author | Chocobozzz <me@florianbigard.com> | 2022-12-01 09:09:20 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-12-01 09:09:20 +0100 |
commit | 04509c43254dc232c61681ac4bb98e09fd126115 (patch) | |
tree | 9b22f8571d62c2b42445383fa33f693b9f80b1ca /client/src/app | |
parent | 4d350aebf6b89072458a68c5dc7943e7c189ddf1 (diff) | |
download | PeerTube-04509c43254dc232c61681ac4bb98e09fd126115.tar.gz PeerTube-04509c43254dc232c61681ac4bb98e09fd126115.tar.zst PeerTube-04509c43254dc232c61681ac4bb98e09fd126115.zip |
Remove country limit of 10 items
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/+stats/video/video-stats.component.ts | 2 |
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 | })) |