Skip to content

Commit

Permalink
Homepage livestreams: honor 'excludedChannelIds' (#2936)
Browse files Browse the repository at this point in the history
Closes 2933
  • Loading branch information
infinite-persistence committed Aug 23, 2023
1 parent e537d8a commit 7f9a1c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ui/page/home/view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,13 @@ function HomePage(props: Props) {
}
// -- Find livestreams related to the category:
const rowChannelIds = row.options?.channelIds;
const rowExcludedChannelIds = row.options?.excludedChannelIds;
cache[row.id] = {
livestreamUris:
row.id === 'FOLLOWING'
? filterActiveLivestreamUris(subscribedChannelIds, null, al, lv)
? filterActiveLivestreamUris(subscribedChannelIds, rowExcludedChannelIds, al, lv)
: rowChannelIds
? filterActiveLivestreamUris(rowChannelIds, null, al, lv)
? filterActiveLivestreamUris(rowChannelIds, rowExcludedChannelIds, al, lv)
: null,
};
});
Expand Down

0 comments on commit 7f9a1c8

Please sign in to comment.