diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-01-10 11:42:53 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-01-10 11:42:53 +0100 |
commit | 2d0d88a0cbd8c1823fe476abb80903cce6a61fd3 (patch) | |
tree | eb156a7e023d9b189a28f6ecd322e3019a48f698 /client/src/app/shared/user-subscription/subscribe-button.component.ts | |
parent | 62fca05de45848f3241c1b078df51d79692ebfee (diff) | |
download | PeerTube-2d0d88a0cbd8c1823fe476abb80903cce6a61fd3.tar.gz PeerTube-2d0d88a0cbd8c1823fe476abb80903cce6a61fd3.tar.zst PeerTube-2d0d88a0cbd8c1823fe476abb80903cce6a61fd3.zip |
Fix subscribe-button for logged-out users
Diffstat (limited to 'client/src/app/shared/user-subscription/subscribe-button.component.ts')
-rw-r--r-- | client/src/app/shared/user-subscription/subscribe-button.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/user-subscription/subscribe-button.component.ts b/client/src/app/shared/user-subscription/subscribe-button.component.ts index 14a6bfe66..1ebfdc82f 100644 --- a/client/src/app/shared/user-subscription/subscribe-button.component.ts +++ b/client/src/app/shared/user-subscription/subscribe-button.component.ts | |||
@@ -146,7 +146,7 @@ export class SubscribeButtonComponent implements OnInit { | |||
146 | } | 146 | } |
147 | 147 | ||
148 | isBigButton () { | 148 | isBigButton () { |
149 | return this.videoChannels.length > 1 && this.isAtLeastOneChannelSubscribed() | 149 | return this.isUserLoggedIn() && this.videoChannels.length > 1 && this.isAtLeastOneChannelSubscribed() |
150 | } | 150 | } |
151 | 151 | ||
152 | gotoLogin () { | 152 | gotoLogin () { |