Make sure we don't show more than 6 rows in channel ranking widget

This commit is contained in:
nymkappa 2023-02-24 20:25:28 +09:00
parent 98e709b739
commit 92862939da
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04

View File

@ -56,7 +56,7 @@ export class TopNodesPerChannels implements OnInit {
iso: ranking.topByChannels[i].iso_code, iso: ranking.topByChannels[i].iso_code,
}; };
} }
return ranking.topByChannels; return ranking.topByChannels.slice(0, 6);
}) })
); );
} }