diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-04-08 20:58:07 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-04-08 21:03:47 +0200 |
commit | 44124980c55d5a5ec7dfb8e71bf14d10f0fe975d (patch) | |
tree | 795191ff37d862a4bcf9cbc57cdb60b909b038d1 /client/angular/videos/components/list/videos-list.component.ts | |
parent | 0dde91ff15ec3cb73d39da50b388e5e525160cb4 (diff) | |
download | PeerTube-44124980c55d5a5ec7dfb8e71bf14d10f0fe975d.tar.gz PeerTube-44124980c55d5a5ec7dfb8e71bf14d10f0fe975d.tar.zst PeerTube-44124980c55d5a5ec7dfb8e71bf14d10f0fe975d.zip |
Add typescript (and angular2) linter
Diffstat (limited to 'client/angular/videos/components/list/videos-list.component.ts')
-rw-r--r-- | client/angular/videos/components/list/videos-list.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/angular/videos/components/list/videos-list.component.ts b/client/angular/videos/components/list/videos-list.component.ts index eb23ed1ff..ae58f4d7e 100644 --- a/client/angular/videos/components/list/videos-list.component.ts +++ b/client/angular/videos/components/list/videos-list.component.ts | |||
@@ -33,7 +33,7 @@ export class VideosListComponent implements OnInit { | |||
33 | if (this.search !== null) { | 33 | if (this.search !== null) { |
34 | observable = this._videosService.searchVideos(this.search); | 34 | observable = this._videosService.searchVideos(this.search); |
35 | } else { | 35 | } else { |
36 | observable = this._videosService.getVideos() | 36 | observable = this._videosService.getVideos(); |
37 | } | 37 | } |
38 | 38 | ||
39 | observable.subscribe( | 39 | observable.subscribe( |
@@ -46,7 +46,7 @@ export class VideosListComponent implements OnInit { | |||
46 | this._videosService.removeVideo(id).subscribe( | 46 | this._videosService.removeVideo(id).subscribe( |
47 | status => this.getVideos(), | 47 | status => this.getVideos(), |
48 | error => alert(error) | 48 | error => alert(error) |
49 | ) | 49 | ); |
50 | } | 50 | } |
51 | 51 | ||
52 | } | 52 | } |