We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9d2cd0 commit 6e2ec28Copy full SHA for 6e2ec28
src/renderer/components/FtListChannel/FtListChannel.vue
@@ -61,6 +61,7 @@
61
/>
62
</div>
63
<FtSubscribeButton
64
+ v-if="!hideUnsubscribeButton"
65
class="channelSubscribeButton"
66
:channel-id="id"
67
:channel-name="name"
@@ -106,6 +107,11 @@ const hideChannelSubscriptions = computed(() => {
106
107
return store.getters.getHideChannelSubscriptions
108
})
109
110
+/** @type {import('vue').ComputedRef<boolean>} */
111
+const hideUnsubscribeButton = computed(() => {
112
+ return store.getters.getHideUnsubscribeButton
113
+})
114
+
115
let id = ''
116
let thumbnail = ''
117
let name = ''
0 commit comments