diff --git a/client/src/app/shared/user-subscription/subscribe-button.component.html b/client/src/app/shared/user-subscription/subscribe-button.component.html index 275349b7f..1c2288ebb 100644 --- a/client/src/app/shared/user-subscription/subscribe-button.component.html +++ b/client/src/app/shared/user-subscription/subscribe-button.component.html @@ -12,8 +12,8 @@ - - {{ videoChannel.followersCount | myNumberFormatter }} + + {{ videoChannels[0].followersCount | myNumberFormatter }} @@ -50,7 +50,7 @@ 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 { } isBigButton () { - return this.videoChannels.length > 1 && this.isAtLeastOneChannelSubscribed() + return this.isUserLoggedIn() && this.videoChannels.length > 1 && this.isAtLeastOneChannelSubscribed() } gotoLogin () {