Skip to content

Commit

Permalink
update playlist and channel filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
petaded committed Jun 28, 2023
1 parent 952a721 commit 65932b4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ export default defineComponent({
return false
}
} else if (data.type === 'channel') {
if (this.channelsHidden.includes(data.channelID) || this.channelsHidden.includes(data.name)) {
if (this.channelsHidden.includes(data.id) || this.channelsHidden.includes(data.name)) {
// hide channels by author
return false
}
} else if (data.type === 'playlist') {
if (this.channelsHidden.includes(data.authorId) || this.channelsHidden.includes(data.author)) {
if (this.channelsHidden.includes(data.channelId) || this.channelsHidden.includes(data.channelName)) {
// hide playlists by author
return false
}
Expand Down

0 comments on commit 65932b4

Please sign in to comment.