X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fangular%2Fvideos%2Fcomponents%2Flist%2Fvideos-list.component.ts;h=ae58f4d7e8abf27a4b1330aac1c8d6ff26c11186;hb=44124980c55d5a5ec7dfb8e71bf14d10f0fe975d;hp=eb23ed1ff61d1a9c72bbe228e7d598ff2e2531b2;hpb=98b01bac2c2c4536aa97d826b61516657f4d15f5;p=github%2FChocobozzz%2FPeerTube.git 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 { if (this.search !== null) { observable = this._videosService.searchVideos(this.search); } else { - observable = this._videosService.getVideos() + observable = this._videosService.getVideos(); } observable.subscribe( @@ -46,7 +46,7 @@ export class VideosListComponent implements OnInit { this._videosService.removeVideo(id).subscribe( status => this.getVideos(), error => alert(error) - ) + ); } }