Remove country limit of 10 items
This commit is contained in:
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 })
|
this.statsService.getOverallStats({ videoId: this.video.uuid, startDate: this.statsStartDate, endDate: this.statsEndDate })
|
||||||
.subscribe({
|
.subscribe({
|
||||||
next: res => {
|
next: res => {
|
||||||
this.countries = res.countries.slice(0, 10).map(c => ({
|
this.countries = res.countries.map(c => ({
|
||||||
name: this.countryCodeToName(c.isoCode),
|
name: this.countryCodeToName(c.isoCode),
|
||||||
viewers: c.viewers
|
viewers: c.viewers
|
||||||
}))
|
}))
|
||||||
|
|
Loading…
Reference in New Issue