aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-library/my-subscriptions
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-17 11:27:47 +0200
committerChocobozzz <me@florianbigard.com>2021-08-17 14:01:45 +0200
commit1378c0d343028f3d40d7d795422684ab9e6a1599 (patch)
tree08062b84a38a7e2dfe0aa674e7ca8e1b7321044e /client/src/app/+my-library/my-subscriptions
parentc186a67f90203af6bfa434f026efdc99193bcd65 (diff)
downloadPeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.tar.gz
PeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.tar.zst
PeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.zip
Fix client lint
Diffstat (limited to 'client/src/app/+my-library/my-subscriptions')
-rw-r--r--client/src/app/+my-library/my-subscriptions/my-subscriptions.component.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/+my-library/my-subscriptions/my-subscriptions.component.ts b/client/src/app/+my-library/my-subscriptions/my-subscriptions.component.ts
index 1f4a931a0..f676aa014 100644
--- a/client/src/app/+my-library/my-subscriptions/my-subscriptions.component.ts
+++ b/client/src/app/+my-library/my-subscriptions/my-subscriptions.component.ts
@@ -41,8 +41,8 @@ export class MySubscriptionsComponent {
41 41
42 private loadSubscriptions (more = true) { 42 private loadSubscriptions (more = true) {
43 this.userSubscriptionService.listSubscriptions({ pagination: this.pagination, search: this.search }) 43 this.userSubscriptionService.listSubscriptions({ pagination: this.pagination, search: this.search })
44 .subscribe( 44 .subscribe({
45 res => { 45 next: res => {
46 this.videoChannels = more 46 this.videoChannels = more
47 ? this.videoChannels.concat(res.data) 47 ? this.videoChannels.concat(res.data)
48 : res.data 48 : res.data
@@ -51,7 +51,7 @@ export class MySubscriptionsComponent {
51 this.onDataSubject.next(res.data) 51 this.onDataSubject.next(res.data)
52 }, 52 },
53 53
54 error => this.notifier.error(error.message) 54 error: err => this.notifier.error(err.message)
55 ) 55 })
56 } 56 }
57} 57}