aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-user-subscription
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-12 10:03:46 +0200
committerChocobozzz <me@florianbigard.com>2021-07-12 10:04:48 +0200
commit77d873c56d112b7b1de4e703b08f7d8547dfb9fd (patch)
treeec62465a0696ffeabdefe5056d30b60b4de47334 /client/src/app/shared/shared-user-subscription
parent6419509bde8d134da044b49fc0eaecc7f38a1c71 (diff)
downloadPeerTube-77d873c56d112b7b1de4e703b08f7d8547dfb9fd.tar.gz
PeerTube-77d873c56d112b7b1de4e703b08f7d8547dfb9fd.tar.zst
PeerTube-77d873c56d112b7b1de4e703b08f7d8547dfb9fd.zip
Fix subscribe hotkey
Diffstat (limited to 'client/src/app/shared/shared-user-subscription')
-rw-r--r--client/src/app/shared/shared-user-subscription/subscribe-button.component.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-user-subscription/subscribe-button.component.ts b/client/src/app/shared/shared-user-subscription/subscribe-button.component.ts
index b918fda06..2261e07dd 100644
--- a/client/src/app/shared/shared-user-subscription/subscribe-button.component.ts
+++ b/client/src/app/shared/shared-user-subscription/subscribe-button.component.ts
@@ -164,6 +164,10 @@ export class SubscribeButtonComponent implements OnInit, OnChanges {
164 return accumulator 164 return accumulator
165 } 165 }
166 166
167 isSubscribedToAll () {
168 return Array.from(this.subscribed.values()).every(v => v === true)
169 }
170
167 private getChannelHandler (videoChannel: VideoChannel) { 171 private getChannelHandler (videoChannel: VideoChannel) {
168 return videoChannel.name + '@' + videoChannel.host 172 return videoChannel.name + '@' + videoChannel.host
169 } 173 }