aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-06-04 19:02:32 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-06-04 19:02:32 +0200
commit443ecefe67e1ef2762c723f50db00faa1599a2f9 (patch)
treeefb02631c6f8a0f35f30dc548632dc68d7a970c7
parent7914607ecde6fa6a3cb197a4369e7514833af3a2 (diff)
downloadPeerTube-443ecefe67e1ef2762c723f50db00faa1599a2f9.tar.gz
PeerTube-443ecefe67e1ef2762c723f50db00faa1599a2f9.tar.zst
PeerTube-443ecefe67e1ef2762c723f50db00faa1599a2f9.zip
Reload videos after removing one to avoid issues with paging etc
-rw-r--r--client/src/app/videos/video-list/video-list.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/videos/video-list/video-list.component.ts b/client/src/app/videos/video-list/video-list.component.ts
index b1ce55845..059317383 100644
--- a/client/src/app/videos/video-list/video-list.component.ts
+++ b/client/src/app/videos/video-list/video-list.component.ts
@@ -84,7 +84,7 @@ export class VideoListComponent implements OnInit {
84 } 84 }
85 85
86 onRemoved(video: Video) { 86 onRemoved(video: Video) {
87 this.videos.splice(this.videos.indexOf(video), 1); 87 this.getVideos();
88 } 88 }
89 89
90 onSort(sort: SortField) { 90 onSort(sort: SortField) {