Reload videos after removing one to avoid issues with paging etc

pull/10/head
Chocobozzz 2016-06-04 19:02:32 +02:00
parent 7914607ecd
commit 443ecefe67
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ export class VideoListComponent implements OnInit {
}
onRemoved(video: Video) {
this.videos.splice(this.videos.indexOf(video), 1);
this.getVideos();
}
onSort(sort: SortField) {