X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fuser-subscription%2Fsubscribe-button.component.ts;h=b5873a2eec4d507d6a451d578741b117f298e3f0;hb=6937f26a5e8b17c7a27f267bce2682ab01611f2f;hp=ba7acf69adf7ef9c0086cc4c8790444dd1709823;hpb=f37dc0dd14d9ce0b59c454c2c1b935fcbe9727e9;p=github%2FChocobozzz%2FPeerTube.git 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 ba7acf69a..b5873a2ee 100644 --- a/client/src/app/shared/user-subscription/subscribe-button.component.ts +++ b/client/src/app/shared/user-subscription/subscribe-button.component.ts @@ -1,7 +1,4 @@ import { Component, Input, OnInit } from '@angular/core' -import { AuthService } from '@app/core' -import { RestExtractor } from '@app/shared/rest' -import { RedirectService } from '@app/core/routing/redirect.service' import { UserSubscriptionService } from '@app/shared/user-subscription/user-subscription.service' import { VideoChannel } from '@app/shared/video-channel/video-channel.model' import { NotificationsService } from 'angular2-notifications' @@ -20,9 +17,6 @@ export class SubscribeButtonComponent implements OnInit { subscribed: boolean constructor ( - private authService: AuthService, - private restExtractor: RestExtractor, - private redirectService: RedirectService, private notificationsService: NotificationsService, private userSubscriptionService: UserSubscriptionService, private i18n: I18n