Skip to content

Commit

Permalink
Fix Hide Unsubscribe Button not hiding the button in search results
Browse files Browse the repository at this point in the history
  • Loading branch information
absidue committed Dec 7, 2024
1 parent 28f0b97 commit 016758b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/renderer/components/FtListChannel/FtListChannel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
/>
</div>
<FtSubscribeButton
v-if="!hideUnsubscribeButton"
class="channelSubscribeButton"
:channel-id="id"
:channel-name="name"
Expand Down Expand Up @@ -106,6 +107,11 @@ const hideChannelSubscriptions = computed(() => {
return store.getters.getHideChannelSubscriptions
})
/** @type {import('vue').ComputedRef<boolean>} */
const hideUnsubscribeButton = computed(() => {
return store.getters.getHideUnsubscribeButton
})
let id = ''
let thumbnail = ''
let name = ''
Expand Down

0 comments on commit 016758b

Please sign in to comment.