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 fae88932f3217..f8dde732b9c9c 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 @@ -48,13 +48,7 @@ export default defineComponent({ }, hideUpcomingPremieres: function () { return this.$store.getters.getHideUpcomingPremieres - } - }, - methods: { - onVisibilityChanged: function (visible) { - this.visible = visible }, - /** * Show or Hide results in the list * @@ -74,10 +68,10 @@ export default defineComponent({ if (this.hideUpcomingPremieres && // Observed for premieres in Local API Channels. (data.durationText === 'PREMIERE' || - // 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'))) { + // 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 } @@ -98,6 +92,11 @@ export default defineComponent({ } return true } + }, + methods: { + onVisibilityChanged: function (visible) { + this.visible = visible + } } })