diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-17 11:27:47 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-17 14:01:45 +0200 |
commit | 1378c0d343028f3d40d7d795422684ab9e6a1599 (patch) | |
tree | 08062b84a38a7e2dfe0aa674e7ca8e1b7321044e /client/src/app/+videos/video-list/overview | |
parent | c186a67f90203af6bfa434f026efdc99193bcd65 (diff) | |
download | PeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.tar.gz PeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.tar.zst PeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.zip |
Fix client lint
Diffstat (limited to 'client/src/app/+videos/video-list/overview')
-rw-r--r-- | client/src/app/+videos/video-list/overview/video-overview.component.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/+videos/video-list/overview/video-overview.component.ts b/client/src/app/+videos/video-list/overview/video-overview.component.ts index 14532ca1e..b32e8f381 100644 --- a/client/src/app/+videos/video-list/overview/video-overview.component.ts +++ b/client/src/app/+videos/video-list/overview/video-overview.component.ts | |||
@@ -68,8 +68,8 @@ export class VideoOverviewComponent implements OnInit { | |||
68 | this.isLoading = true | 68 | this.isLoading = true |
69 | 69 | ||
70 | this.overviewService.getVideosOverview(this.currentPage) | 70 | this.overviewService.getVideosOverview(this.currentPage) |
71 | .subscribe( | 71 | .subscribe({ |
72 | overview => { | 72 | next: overview => { |
73 | this.isLoading = false | 73 | this.isLoading = false |
74 | 74 | ||
75 | if (overview.tags.length === 0 && overview.channels.length === 0 && overview.categories.length === 0) { | 75 | if (overview.tags.length === 0 && overview.channels.length === 0 && overview.categories.length === 0) { |
@@ -85,10 +85,10 @@ export class VideoOverviewComponent implements OnInit { | |||
85 | this.overviews.push(overview) | 85 | this.overviews.push(overview) |
86 | }, | 86 | }, |
87 | 87 | ||
88 | err => { | 88 | error: err => { |
89 | this.notifier.error(err.message) | 89 | this.notifier.error(err.message) |
90 | this.isLoading = false | 90 | this.isLoading = false |
91 | } | 91 | } |
92 | ) | 92 | }) |
93 | } | 93 | } |
94 | } | 94 | } |