Reload data when deleting a blocked video

pull/5378/head
Chocobozzz 2022-10-25 14:50:54 +02:00
parent 34ba86a8b4
commit 3fc43fa0b0
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 4 additions and 1 deletions

View File

@ -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)
})