mirror of https://github.com/Chocobozzz/PeerTube
Reload videos after removing one to avoid issues with paging etc
parent
7914607ecd
commit
443ecefe67
|
@ -84,7 +84,7 @@ export class VideoListComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
onRemoved(video: Video) {
|
onRemoved(video: Video) {
|
||||||
this.videos.splice(this.videos.indexOf(video), 1);
|
this.getVideos();
|
||||||
}
|
}
|
||||||
|
|
||||||
onSort(sort: SortField) {
|
onSort(sort: SortField) {
|
||||||
|
|
Loading…
Reference in New Issue