aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/app/+my-account/my-account-videos/my-account-videos.component.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/+my-account/my-account-videos/my-account-videos.component.ts b/client/src/app/+my-account/my-account-videos/my-account-videos.component.ts
index d8c919fee..6ab6c2aa5 100644
--- a/client/src/app/+my-account/my-account-videos/my-account-videos.component.ts
+++ b/client/src/app/+my-account/my-account-videos/my-account-videos.component.ts
@@ -88,7 +88,8 @@ export class MyAccountVideosComponent extends AbstractVideoList implements OnIni
88 .subscribe( 88 .subscribe(
89 res => { 89 res => {
90 this.notificationsService.success('Success', `${toDeleteVideosIds.length} videos deleted.`) 90 this.notificationsService.success('Success', `${toDeleteVideosIds.length} videos deleted.`)
91 this.buildVideoPages() 91 this.abortSelectionMode()
92 this.reloadVideos()
92 }, 93 },
93 94
94 err => this.notificationsService.error('Error', err.message) 95 err => this.notificationsService.error('Error', err.message)
@@ -103,8 +104,7 @@ export class MyAccountVideosComponent extends AbstractVideoList implements OnIni
103 .subscribe( 104 .subscribe(
104 status => { 105 status => {
105 this.notificationsService.success('Success', `Video ${video.name} deleted.`) 106 this.notificationsService.success('Success', `Video ${video.name} deleted.`)
106 this.spliceVideosById(video.id) 107 this.reloadVideos()
107 this.buildVideoPages()
108 }, 108 },
109 109
110 error => this.notificationsService.error('Error', error.message) 110 error => this.notificationsService.error('Error', error.message)