Skip to content

Commit

Permalink
移除资讯分区排行榜(因为不存在) (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
Richasy authored Sep 16, 2024
1 parent b2cbe48 commit 836b4e7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ private async Task LoadPartitionsAsync()
var partitions = await _service.GetVideoPartitionsAsync();
if (partitions != null)
{
foreach (var item in partitions)
// 去除资讯分区,因为资讯分区没有排行榜.
foreach (var item in partitions.Where(p => p.Id != "202"))
{
Sections.Add(new PopularRankPartitionViewModel(item));
}
Expand Down

0 comments on commit 836b4e7

Please sign in to comment.