mirror of https://github.com/Chocobozzz/PeerTube
Reload data when deleting a blocked video
parent
34ba86a8b4
commit
3fc43fa0b0
|
@ -98,7 +98,10 @@ export class VideoBlockListComponent extends RestTable implements OnInit {
|
||||||
|
|
||||||
this.videoService.removeVideo(videoBlock.video.id)
|
this.videoService.removeVideo(videoBlock.video.id)
|
||||||
.subscribe({
|
.subscribe({
|
||||||
next: () => this.notifier.success($localize`Video deleted.`),
|
next: () => {
|
||||||
|
this.notifier.success($localize`Video deleted.`)
|
||||||
|
this.reloadData()
|
||||||
|
},
|
||||||
|
|
||||||
error: err => this.notifier.error(err.message)
|
error: err => this.notifier.error(err.message)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue