diff options
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 | } |