aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/app/+my-account/my-account-videos/video-change-ownership/video-change-ownership.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+my-account/my-account-videos/video-change-ownership/video-change-ownership.component.ts b/client/src/app/+my-account/my-account-videos/video-change-ownership/video-change-ownership.component.ts
index 0aa4c32ee..7437b939a 100644
--- a/client/src/app/+my-account/my-account-videos/video-change-ownership/video-change-ownership.component.ts
+++ b/client/src/app/+my-account/my-account-videos/video-change-ownership/video-change-ownership.component.ts
@@ -53,7 +53,7 @@ export class VideoChangeOwnershipComponent extends FormReactive implements OnIni
53 const query = event.query 53 const query = event.query
54 this.userService.autocomplete(query) 54 this.userService.autocomplete(query)
55 .subscribe( 55 .subscribe(
56 (usernames) => { 56 usernames => {
57 this.usernamePropositions = usernames 57 this.usernamePropositions = usernames
58 }, 58 },
59 59
@@ -67,7 +67,7 @@ export class VideoChangeOwnershipComponent extends FormReactive implements OnIni
67 this.videoOwnershipService 67 this.videoOwnershipService
68 .changeOwnership(this.video.id, username) 68 .changeOwnership(this.video.id, username)
69 .subscribe( 69 .subscribe(
70 () => this.notificationsService.success(this.i18n('Success'), this.i18n('Ownership changed.')), 70 () => this.notificationsService.success(this.i18n('Success'), this.i18n('Ownership change request sent.')),
71 71
72 err => this.notificationsService.error(this.i18n('Error'), err.message) 72 err => this.notificationsService.error(this.i18n('Error'), err.message)
73 ) 73 )