diff --git a/src/components/FeedPage.vue b/src/components/FeedPage.vue index 6db4b56712..d7381a3939 100644 --- a/src/components/FeedPage.vue +++ b/src/components/FeedPage.vue @@ -50,6 +50,7 @@ to="/subscriptions" /> { if (isAuthenticated()) return authApiUrl() + "/feed/rss?authToken=" + getAuthToken(); - else return authApiUrl() + "/feed/unauthenticated/rss?channels=" + getUnauthenticatedChannels(); + const channels = getUnauthenticatedChannels(); + if (!channels) return null; + return authApiUrl() + "/feed/unauthenticated/rss?channels=" + channels; }); const filteredVideos = computed(() => { @@ -112,7 +115,7 @@ const filteredVideos = computed(() => { function loadMoreVideos() { if (!videosStore.value) return; currentVideoCount = Math.min(currentVideoCount + videoStep, videosStore.value.length); - if (videos.value.length != videosStore.value.length) { + if (videos.value.length !== videosStore.value.length) { fetchDeArrowContent(videosStore.value.slice(videos.value.length, currentVideoCount)); videos.value = videosStore.value.slice(0, currentVideoCount); } diff --git a/src/components/PreferencesPage.vue b/src/components/PreferencesPage.vue index 6aad95173c..9e2be44c90 100644 --- a/src/components/PreferencesPage.vue +++ b/src/components/PreferencesPage.vue @@ -158,7 +158,6 @@ for="chkMinimizeChapters" > -