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