Skip to content

Commit

Permalink
Hide recommendations from the Watch component, instead of hiding itse…
Browse files Browse the repository at this point in the history
…lf (#5203)
  • Loading branch information
absidue authored Jun 1, 2024
1 parent a8a0106 commit 94ab40c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ export default defineComponent({
computed: {
playNextVideo: function () {
return this.$store.getters.getPlayNextVideo
},
hideRecommendedVideos: function () {
return this.$store.getters.getHideRecommendedVideos
}
},
methods: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<template>
<ft-card
v-if="!hideRecommendedVideos"
class="relative watchVideoRecommendations"
>
<div class="VideoRecommendationsTopBar">
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/views/Watch/Watch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
@pause-player="pausePlayer"
/>
<watch-video-recommendations
v-if="!isLoading"
v-if="!isLoading && !hideRecommendedVideos"
:show-autoplay="!watchingPlaylist"
:data="recommendedVideos"
class="watchVideoSideBar watchVideoRecommendations"
Expand Down

0 comments on commit 94ab40c

Please sign in to comment.