From 530dea939ac81f941dbf55f4e9a0cf4b35efebe7 Mon Sep 17 00:00:00 2001 From: petaded Date: Sun, 18 Jun 2023 12:12:51 +0100 Subject: [PATCH] Add back isRSS and viewcount check to fix when in subscriptions page --- .../ft-list-lazy-wrapper/ft-list-lazy-wrapper.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 bd08aaf5ca959..ebc5aabba9ab3 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 @@ -64,7 +64,13 @@ export default defineComponent({ // hide livestreams return false } - if (this.hideUpcomingPremieres && data.premiereDate != null) { + if (this.hideUpcomingPremieres && + // Observed for premieres in Local API Channels. + (data.premiereDate != null || + // viewCount is our only method of detecting premieres in RSS + // data without sending an additional request. + // If we ever get a better flag, use it here instead. + (data.isRSS && data.viewCount === '0'))) { // hide upcoming return false }