mirror of https://github.com/Chocobozzz/PeerTube
Remove country limit of 10 items
parent
4d350aebf6
commit
04509c4325
|
@ -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
|
||||
}))
|
||||
|
|
Loading…
Reference in New Issue