From 2c78970f0e33d0ce39df546f8200f88b5caacd25 Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Thu, 27 Oct 2022 11:34:04 +0200 Subject: [PATCH 1/9] Fix chapters extraction erroring (#2774) --- src/renderer/views/Watch/Watch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/views/Watch/Watch.js b/src/renderer/views/Watch/Watch.js index 8463b6bee9bbf..eed9b3cb8ad72 100644 --- a/src/renderer/views/Watch/Watch.js +++ b/src/renderer/views/Watch/Watch.js @@ -379,7 +379,7 @@ export default Vue.extend({ const chapters = [] if (!this.hideChapters) { - const rawChapters = result.response.playerOverlays.playerOverlayRenderer.decoratedPlayerBarRenderer?.decoratedPlayerBarRenderer.playerBar?.multiMarkersPlayerBarRenderer.markersMap.find(m => m.key === 'DESCRIPTION_CHAPTERS')?.value.chapters + const rawChapters = result.response.playerOverlays.playerOverlayRenderer.decoratedPlayerBarRenderer?.decoratedPlayerBarRenderer.playerBar?.multiMarkersPlayerBarRenderer.markersMap?.find(m => m.key === 'DESCRIPTION_CHAPTERS')?.value.chapters if (rawChapters) { for (const { chapterRenderer } of rawChapters) { const start = chapterRenderer.timeRangeStartMillis / 1000 From 8f55a648b160f81f673635daa7064cb4c5d29451 Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Thu, 27 Oct 2022 11:34:39 +0200 Subject: [PATCH 2/9] Cleanup unused component imports (#2773) --- .../components/data-settings/data-settings.js | 4 ---- .../distraction-settings/distraction-settings.js | 10 +--------- .../external-player-settings.js | 2 -- src/renderer/components/ft-button/ft-button.js | 12 +----------- .../components/ft-element-list/ft-element-list.js | 2 -- .../ft-profile-filter-channels-list.js | 2 -- .../components/ft-video-player/ft-video-player.js | 4 ---- .../components/general-settings/general-settings.js | 2 -- .../parental-control-settings.js | 10 +--------- .../components/player-settings/player-settings.js | 2 -- .../components/privacy-settings/privacy-settings.js | 2 -- .../components/proxy-settings/proxy-settings.js | 2 -- .../sponsor-block-settings/sponsor-block-settings.js | 2 -- .../components/theme-settings/theme-settings.js | 2 -- .../components/watch-video-info/watch-video-info.js | 2 -- .../watch-video-live-chat/watch-video-live-chat.js | 4 +--- .../watch-video-playlist/watch-video-playlist.js | 2 -- src/renderer/views/Playlist/Playlist.js | 4 +--- src/renderer/views/Settings/Settings.js | 4 ---- src/renderer/views/Watch/Watch.js | 4 ---- 20 files changed, 5 insertions(+), 73 deletions(-) diff --git a/src/renderer/components/data-settings/data-settings.js b/src/renderer/components/data-settings/data-settings.js index 20d75ee6d16de..b56b7a71a533b 100644 --- a/src/renderer/components/data-settings/data-settings.js +++ b/src/renderer/components/data-settings/data-settings.js @@ -1,9 +1,7 @@ import Vue from 'vue' import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue' import { mapActions, mapMutations } from 'vuex' -import FtCard from '../ft-card/ft-card.vue' import FtButton from '../ft-button/ft-button.vue' -import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue' import FtFlexBox from '../ft-flex-box/ft-flex-box.vue' import FtPrompt from '../ft-prompt/ft-prompt.vue' import { MAIN_PROFILE_ID } from '../../../constants' @@ -25,9 +23,7 @@ export default Vue.extend({ name: 'DataSettings', components: { 'ft-settings-section': FtSettingsSection, - 'ft-card': FtCard, 'ft-button': FtButton, - 'ft-toggle-switch': FtToggleSwitch, 'ft-flex-box': FtFlexBox, 'ft-prompt': FtPrompt }, diff --git a/src/renderer/components/distraction-settings/distraction-settings.js b/src/renderer/components/distraction-settings/distraction-settings.js index 2aecd3c0aac3e..e4d35255e9816 100644 --- a/src/renderer/components/distraction-settings/distraction-settings.js +++ b/src/renderer/components/distraction-settings/distraction-settings.js @@ -1,21 +1,13 @@ import Vue from 'vue' import { mapActions } from 'vuex' import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue' -import FtCard from '../ft-card/ft-card.vue' import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue' -import FtButton from '../ft-button/ft-button.vue' -import FtSelect from '../ft-select/ft-select.vue' -import FtFlexBox from '../ft-flex-box/ft-flex-box.vue' export default Vue.extend({ name: 'PlayerSettings', components: { 'ft-settings-section': FtSettingsSection, - 'ft-card': FtCard, - 'ft-toggle-switch': FtToggleSwitch, - 'ft-button': FtButton, - 'ft-select': FtSelect, - 'ft-flex-box': FtFlexBox + 'ft-toggle-switch': FtToggleSwitch }, computed: { hideVideoViews: function () { diff --git a/src/renderer/components/external-player-settings/external-player-settings.js b/src/renderer/components/external-player-settings/external-player-settings.js index 5e4c684144643..69c58c0561daa 100644 --- a/src/renderer/components/external-player-settings/external-player-settings.js +++ b/src/renderer/components/external-player-settings/external-player-settings.js @@ -1,7 +1,6 @@ import Vue from 'vue' import { mapActions } from 'vuex' import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue' -import FtCard from '../ft-card/ft-card.vue' import FtSelect from '../ft-select/ft-select.vue' import FtInput from '../ft-input/ft-input.vue' import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue' @@ -11,7 +10,6 @@ export default Vue.extend({ name: 'ExternalPlayerSettings', components: { 'ft-settings-section': FtSettingsSection, - 'ft-card': FtCard, 'ft-select': FtSelect, 'ft-input': FtInput, 'ft-toggle-switch': FtToggleSwitch, diff --git a/src/renderer/components/ft-button/ft-button.js b/src/renderer/components/ft-button/ft-button.js index 815c8dfbff36a..afb52938cfc95 100644 --- a/src/renderer/components/ft-button/ft-button.js +++ b/src/renderer/components/ft-button/ft-button.js @@ -1,17 +1,7 @@ import Vue from 'vue' -import FtFlexBox from '../ft-flex-box/ft-flex-box.vue' -import FtListVideo from '../ft-list-video/ft-list-video.vue' -import FtListChannel from '../ft-list-channel/ft-list-channel.vue' -import FtListPlaylist from '../ft-list-playlist/ft-list-playlist.vue' export default Vue.extend({ - name: 'FtElementList', - components: { - 'ft-flex-box': FtFlexBox, - 'ft-list-video': FtListVideo, - 'ft-list-channel': FtListChannel, - 'ft-list-playlist': FtListPlaylist - }, + name: 'FtButton', props: { label: { type: String, diff --git a/src/renderer/components/ft-element-list/ft-element-list.js b/src/renderer/components/ft-element-list/ft-element-list.js index 095ed6be6441f..319d31dc7b22b 100644 --- a/src/renderer/components/ft-element-list/ft-element-list.js +++ b/src/renderer/components/ft-element-list/ft-element-list.js @@ -1,12 +1,10 @@ import Vue from 'vue' -import FtFlexBox from '../ft-flex-box/ft-flex-box.vue' import FtAutoGrid from '../ft-auto-grid/ft-auto-grid.vue' import FtListLazyWrapper from '../ft-list-lazy-wrapper/ft-list-lazy-wrapper.vue' export default Vue.extend({ name: 'FtElementList', components: { - 'ft-flex-box': FtFlexBox, 'ft-auto-grid': FtAutoGrid, 'ft-list-lazy-wrapper': FtListLazyWrapper }, diff --git a/src/renderer/components/ft-profile-filter-channels-list/ft-profile-filter-channels-list.js b/src/renderer/components/ft-profile-filter-channels-list/ft-profile-filter-channels-list.js index c6326e427d302..7ae4cdcf7128c 100644 --- a/src/renderer/components/ft-profile-filter-channels-list/ft-profile-filter-channels-list.js +++ b/src/renderer/components/ft-profile-filter-channels-list/ft-profile-filter-channels-list.js @@ -5,7 +5,6 @@ import FtCard from '../../components/ft-card/ft-card.vue' import FtFlexBox from '../../components/ft-flex-box/ft-flex-box.vue' import FtChannelBubble from '../../components/ft-channel-bubble/ft-channel-bubble.vue' import FtButton from '../../components/ft-button/ft-button.vue' -import FtPrompt from '../../components/ft-prompt/ft-prompt.vue' import FtSelect from '../ft-select/ft-select.vue' import { showToast } from '../../helpers/utils' @@ -16,7 +15,6 @@ export default Vue.extend({ 'ft-flex-box': FtFlexBox, 'ft-channel-bubble': FtChannelBubble, 'ft-button': FtButton, - 'ft-prompt': FtPrompt, 'ft-select': FtSelect }, props: { diff --git a/src/renderer/components/ft-video-player/ft-video-player.js b/src/renderer/components/ft-video-player/ft-video-player.js index 6532f99e2f0a8..32003cddc15e1 100644 --- a/src/renderer/components/ft-video-player/ft-video-player.js +++ b/src/renderer/components/ft-video-player/ft-video-player.js @@ -1,6 +1,5 @@ import Vue from 'vue' import { mapActions } from 'vuex' -import FtCard from '../ft-card/ft-card.vue' import videojs from 'video.js' import qualitySelector from '@silvermine/videojs-quality-selector' @@ -19,9 +18,6 @@ import { calculateColorLuminance, colors, showSaveDialog, showToast } from '../. export default Vue.extend({ name: 'FtVideoPlayer', - components: { - 'ft-card': FtCard - }, beforeRouteLeave: function () { document.removeEventListener('keydown', this.keyboardShortcutHandler) if (this.player !== null) { diff --git a/src/renderer/components/general-settings/general-settings.js b/src/renderer/components/general-settings/general-settings.js index 692dbce6bda90..aa2f05fc55442 100644 --- a/src/renderer/components/general-settings/general-settings.js +++ b/src/renderer/components/general-settings/general-settings.js @@ -1,7 +1,6 @@ import Vue from 'vue' import { mapActions, mapMutations } from 'vuex' import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue' -import FtCard from '../ft-card/ft-card.vue' import FtSelect from '../ft-select/ft-select.vue' import FtInput from '../ft-input/ft-input.vue' import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue' @@ -15,7 +14,6 @@ export default Vue.extend({ name: 'GeneralSettings', components: { 'ft-settings-section': FtSettingsSection, - 'ft-card': FtCard, 'ft-select': FtSelect, 'ft-input': FtInput, 'ft-toggle-switch': FtToggleSwitch, diff --git a/src/renderer/components/parental-control-settings/parental-control-settings.js b/src/renderer/components/parental-control-settings/parental-control-settings.js index b501e7c04f356..10a678e3f8efe 100644 --- a/src/renderer/components/parental-control-settings/parental-control-settings.js +++ b/src/renderer/components/parental-control-settings/parental-control-settings.js @@ -1,21 +1,13 @@ import Vue from 'vue' import { mapActions } from 'vuex' import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue' -import FtCard from '../ft-card/ft-card.vue' import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue' -import FtButton from '../ft-button/ft-button.vue' -import FtSelect from '../ft-select/ft-select.vue' -import FtFlexBox from '../ft-flex-box/ft-flex-box.vue' export default Vue.extend({ name: 'ParentalControlSettings', components: { 'ft-settings-section': FtSettingsSection, - 'ft-card': FtCard, - 'ft-toggle-switch': FtToggleSwitch, - 'ft-button': FtButton, - 'ft-select': FtSelect, - 'ft-flex-box': FtFlexBox + 'ft-toggle-switch': FtToggleSwitch }, computed: { hideSearchBar: function () { diff --git a/src/renderer/components/player-settings/player-settings.js b/src/renderer/components/player-settings/player-settings.js index 58fd411f874e8..66c75e422a977 100644 --- a/src/renderer/components/player-settings/player-settings.js +++ b/src/renderer/components/player-settings/player-settings.js @@ -1,7 +1,6 @@ import Vue from 'vue' import { mapActions } from 'vuex' import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue' -import FtCard from '../ft-card/ft-card.vue' import FtSelect from '../ft-select/ft-select.vue' import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue' import FtSlider from '../ft-slider/ft-slider.vue' @@ -17,7 +16,6 @@ export default Vue.extend({ name: 'PlayerSettings', components: { 'ft-settings-section': FtSettingsSection, - 'ft-card': FtCard, 'ft-select': FtSelect, 'ft-toggle-switch': FtToggleSwitch, 'ft-slider': FtSlider, diff --git a/src/renderer/components/privacy-settings/privacy-settings.js b/src/renderer/components/privacy-settings/privacy-settings.js index 990b024bf7671..4974944a2576f 100644 --- a/src/renderer/components/privacy-settings/privacy-settings.js +++ b/src/renderer/components/privacy-settings/privacy-settings.js @@ -1,7 +1,6 @@ import Vue from 'vue' import { mapActions } from 'vuex' import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue' -import FtCard from '../ft-card/ft-card.vue' import FtButton from '../ft-button/ft-button.vue' import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue' import FtFlexBox from '../ft-flex-box/ft-flex-box.vue' @@ -13,7 +12,6 @@ export default Vue.extend({ name: 'PrivacySettings', components: { 'ft-settings-section': FtSettingsSection, - 'ft-card': FtCard, 'ft-button': FtButton, 'ft-toggle-switch': FtToggleSwitch, 'ft-flex-box': FtFlexBox, diff --git a/src/renderer/components/proxy-settings/proxy-settings.js b/src/renderer/components/proxy-settings/proxy-settings.js index a9877a4ea0ea5..abc50e7283ef2 100644 --- a/src/renderer/components/proxy-settings/proxy-settings.js +++ b/src/renderer/components/proxy-settings/proxy-settings.js @@ -1,7 +1,6 @@ import Vue from 'vue' import { mapActions } from 'vuex' import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue' -import FtCard from '../ft-card/ft-card.vue' import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue' import FtButton from '../ft-button/ft-button.vue' import FtSelect from '../ft-select/ft-select.vue' @@ -21,7 +20,6 @@ export default Vue.extend({ name: 'ProxySettings', components: { 'ft-settings-section': FtSettingsSection, - 'ft-card': FtCard, 'ft-toggle-switch': FtToggleSwitch, 'ft-button': FtButton, 'ft-select': FtSelect, diff --git a/src/renderer/components/sponsor-block-settings/sponsor-block-settings.js b/src/renderer/components/sponsor-block-settings/sponsor-block-settings.js index 30feb58f9e505..80ad8e5167cfd 100644 --- a/src/renderer/components/sponsor-block-settings/sponsor-block-settings.js +++ b/src/renderer/components/sponsor-block-settings/sponsor-block-settings.js @@ -1,7 +1,6 @@ import Vue from 'vue' import { mapActions } from 'vuex' import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue' -import FtCard from '../ft-card/ft-card.vue' import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue' import FtInput from '../ft-input/ft-input.vue' import FtFlexBox from '../ft-flex-box/ft-flex-box.vue' @@ -11,7 +10,6 @@ export default Vue.extend({ name: 'SponsorBlockSettings', components: { 'ft-settings-section': FtSettingsSection, - 'ft-card': FtCard, 'ft-toggle-switch': FtToggleSwitch, 'ft-input': FtInput, 'ft-flex-box': FtFlexBox, diff --git a/src/renderer/components/theme-settings/theme-settings.js b/src/renderer/components/theme-settings/theme-settings.js index 7a962b7a2bf5d..6bc53e3102bb5 100644 --- a/src/renderer/components/theme-settings/theme-settings.js +++ b/src/renderer/components/theme-settings/theme-settings.js @@ -1,7 +1,6 @@ import Vue from 'vue' import { mapActions } from 'vuex' import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue' -import FtCard from '../ft-card/ft-card.vue' import FtSelect from '../ft-select/ft-select.vue' import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue' import FtSlider from '../ft-slider/ft-slider.vue' @@ -13,7 +12,6 @@ export default Vue.extend({ name: 'ThemeSettings', components: { 'ft-settings-section': FtSettingsSection, - 'ft-card': FtCard, 'ft-select': FtSelect, 'ft-toggle-switch': FtToggleSwitch, 'ft-slider': FtSlider, diff --git a/src/renderer/components/watch-video-info/watch-video-info.js b/src/renderer/components/watch-video-info/watch-video-info.js index 4c96dfc0e6e01..eced435b22c7f 100644 --- a/src/renderer/components/watch-video-info/watch-video-info.js +++ b/src/renderer/components/watch-video-info/watch-video-info.js @@ -2,7 +2,6 @@ import Vue from 'vue' import { mapActions } from 'vuex' import FtCard from '../ft-card/ft-card.vue' import FtButton from '../ft-button/ft-button.vue' -import FtFlexBox from '../ft-flex-box/ft-flex-box.vue' import FtIconButton from '../ft-icon-button/ft-icon-button.vue' import FtShareButton from '../ft-share-button/ft-share-button.vue' import { MAIN_PROFILE_ID } from '../../../constants' @@ -14,7 +13,6 @@ export default Vue.extend({ components: { 'ft-card': FtCard, 'ft-button': FtButton, - 'ft-flex-box': FtFlexBox, 'ft-icon-button': FtIconButton, 'ft-share-button': FtShareButton }, diff --git a/src/renderer/components/watch-video-live-chat/watch-video-live-chat.js b/src/renderer/components/watch-video-live-chat/watch-video-live-chat.js index 3c9c63ae67458..64925d7ce3869 100644 --- a/src/renderer/components/watch-video-live-chat/watch-video-live-chat.js +++ b/src/renderer/components/watch-video-live-chat/watch-video-live-chat.js @@ -2,7 +2,6 @@ import Vue from 'vue' import FtLoader from '../ft-loader/ft-loader.vue' import FtCard from '../ft-card/ft-card.vue' import FtButton from '../ft-button/ft-button.vue' -import FtListVideo from '../ft-list-video/ft-list-video.vue' import autolinker from 'autolinker' import { LiveChat } from '@freetube/youtube-chat' @@ -13,8 +12,7 @@ export default Vue.extend({ components: { 'ft-loader': FtLoader, 'ft-card': FtCard, - 'ft-button': FtButton, - 'ft-list-video': FtListVideo + 'ft-button': FtButton }, beforeRouteLeave: function () { this.liveChat.stop() diff --git a/src/renderer/components/watch-video-playlist/watch-video-playlist.js b/src/renderer/components/watch-video-playlist/watch-video-playlist.js index d63ad765014d5..85496e75d11d1 100644 --- a/src/renderer/components/watch-video-playlist/watch-video-playlist.js +++ b/src/renderer/components/watch-video-playlist/watch-video-playlist.js @@ -2,7 +2,6 @@ import Vue from 'vue' import { mapActions } from 'vuex' import FtLoader from '../ft-loader/ft-loader.vue' import FtCard from '../ft-card/ft-card.vue' -import FtFlexBox from '../ft-flex-box/ft-flex-box.vue' import FtListVideo from '../ft-list-video/ft-list-video.vue' import { copyToClipboard, showToast } from '../../helpers/utils' @@ -11,7 +10,6 @@ export default Vue.extend({ components: { 'ft-loader': FtLoader, 'ft-card': FtCard, - 'ft-flex-box': FtFlexBox, 'ft-list-video': FtListVideo }, props: { diff --git a/src/renderer/views/Playlist/Playlist.js b/src/renderer/views/Playlist/Playlist.js index 2fcfb66b03e82..611c891c01b5f 100644 --- a/src/renderer/views/Playlist/Playlist.js +++ b/src/renderer/views/Playlist/Playlist.js @@ -4,7 +4,6 @@ import FtLoader from '../../components/ft-loader/ft-loader.vue' import FtCard from '../../components/ft-card/ft-card.vue' import PlaylistInfo from '../../components/playlist-info/playlist-info.vue' import FtListVideo from '../../components/ft-list-video/ft-list-video.vue' -import FtFlexBox from '../../components/ft-flex-box/ft-flex-box.vue' import i18n from '../../i18n/index' export default Vue.extend({ @@ -13,8 +12,7 @@ export default Vue.extend({ 'ft-loader': FtLoader, 'ft-card': FtCard, 'playlist-info': PlaylistInfo, - 'ft-list-video': FtListVideo, - 'ft-flex-box': FtFlexBox + 'ft-list-video': FtListVideo }, data: function () { return { diff --git a/src/renderer/views/Settings/Settings.js b/src/renderer/views/Settings/Settings.js index e2a6dc9eae59a..92ce91804c166 100644 --- a/src/renderer/views/Settings/Settings.js +++ b/src/renderer/views/Settings/Settings.js @@ -1,6 +1,4 @@ import Vue from 'vue' -import FtCard from '../../components/ft-card/ft-card.vue' -import FtElementList from '../../components/ft-element-list/ft-element-list.vue' import GeneralSettings from '../../components/general-settings/general-settings.vue' import ThemeSettings from '../../components/theme-settings/theme-settings.vue' import PlayerSettings from '../../components/player-settings/player-settings.vue' @@ -18,8 +16,6 @@ import ExperimentalSettings from '../../components/experimental-settings/experim export default Vue.extend({ name: 'Settings', components: { - 'ft-card': FtCard, - 'ft-element-list': FtElementList, 'general-settings': GeneralSettings, 'theme-settings': ThemeSettings, 'player-settings': PlayerSettings, diff --git a/src/renderer/views/Watch/Watch.js b/src/renderer/views/Watch/Watch.js index eed9b3cb8ad72..e2e1f0980601a 100644 --- a/src/renderer/views/Watch/Watch.js +++ b/src/renderer/views/Watch/Watch.js @@ -3,8 +3,6 @@ import { mapActions } from 'vuex' import fs from 'fs' import ytDashGen from 'yt-dash-manifest-generator' import FtLoader from '../../components/ft-loader/ft-loader.vue' -import FtCard from '../../components/ft-card/ft-card.vue' -import FtElementList from '../../components/ft-element-list/ft-element-list.vue' import FtVideoPlayer from '../../components/ft-video-player/ft-video-player.vue' import WatchVideoInfo from '../../components/watch-video-info/watch-video-info.vue' import WatchVideoChapters from '../../components/watch-video-chapters/watch-video-chapters.vue' @@ -23,8 +21,6 @@ export default Vue.extend({ name: 'Watch', components: { 'ft-loader': FtLoader, - 'ft-card': FtCard, - 'ft-element-list': FtElementList, 'ft-video-player': FtVideoPlayer, 'watch-video-info': WatchVideoInfo, 'watch-video-chapters': WatchVideoChapters, From f46132ce2590901d9644b46206f3348941381ac7 Mon Sep 17 00:00:00 2001 From: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com> Date: Thu, 27 Oct 2022 05:34:51 -0400 Subject: [PATCH 3/9] hide `Most Popular` if invidious is disabled (#2772) --- .../side-nav-more-options/side-nav-more-options.js | 6 ++++++ .../side-nav-more-options/side-nav-more-options.vue | 2 +- src/renderer/components/side-nav/side-nav.js | 3 +++ src/renderer/components/side-nav/side-nav.vue | 2 +- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/renderer/components/side-nav-more-options/side-nav-more-options.js b/src/renderer/components/side-nav-more-options/side-nav-more-options.js index 720414487c40d..385a4c8f1ea66 100644 --- a/src/renderer/components/side-nav-more-options/side-nav-more-options.js +++ b/src/renderer/components/side-nav-more-options/side-nav-more-options.js @@ -8,6 +8,12 @@ export default Vue.extend({ } }, computed: { + backendFallback: function () { + return this.$store.getters.getBackendFallback + }, + backendPreference: function () { + return this.$store.getters.getBackendPreference + }, hidePopularVideos: function () { return this.$store.getters.getHidePopularVideos }, diff --git a/src/renderer/components/side-nav-more-options/side-nav-more-options.vue b/src/renderer/components/side-nav-more-options/side-nav-more-options.vue index a14863ea2f095..328cb9b759a91 100644 --- a/src/renderer/components/side-nav-more-options/side-nav-more-options.vue +++ b/src/renderer/components/side-nav-more-options/side-nav-more-options.vue @@ -64,7 +64,7 @@