From 65932b4b4a9a61c1810bcb8b0baba1e422269bae Mon Sep 17 00:00:00 2001 From: petaded Date: Wed, 28 Jun 2023 09:16:59 +0100 Subject: [PATCH] update playlist and channel filtering --- .../components/ft-list-lazy-wrapper/ft-list-lazy-wrapper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/components/ft-list-lazy-wrapper/ft-list-lazy-wrapper.js b/src/renderer/components/ft-list-lazy-wrapper/ft-list-lazy-wrapper.js index ebc5aabba9ab3..8f3e91eaa04d8 100644 --- a/src/renderer/components/ft-list-lazy-wrapper/ft-list-lazy-wrapper.js +++ b/src/renderer/components/ft-list-lazy-wrapper/ft-list-lazy-wrapper.js @@ -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 }