From b061c8edb053d4a7a02f09d93d406f6a8c58006e Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Wed, 8 Jan 2020 00:46:38 +0100 Subject: Add extra text to button when partially subscribed to all channels --- .../src/app/shared/user-subscription/subscribe-button.component.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'client/src/app/shared/user-subscription/subscribe-button.component.ts') 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 0c1f71c6c..f0bee9d47 100644 --- a/client/src/app/shared/user-subscription/subscribe-button.component.ts +++ b/client/src/app/shared/user-subscription/subscribe-button.component.ts @@ -15,6 +15,12 @@ import { forkJoin } from 'rxjs' styleUrls: [ './subscribe-button.component.scss' ] }) export class SubscribeButtonComponent implements OnInit { + /** + * SubscribeButtonComponent can be used with a single VideoChannel passed as [VideoChannel], + * or with an account and a full list of that account's videoChannels. The latter is intended + * to allow mass un/subscription from an account's page, while keeping the channel-centric + * subscription model. + */ @Input() account: Account @Input() videoChannels: VideoChannel[] @Input() displayFollowers = false -- cgit v1.2.3