aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.ts')
-rw-r--r--client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.ts b/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.ts
index 7889d0985..b92377bca 100644
--- a/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.ts
+++ b/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.ts
@@ -64,14 +64,14 @@ export class MyAcceptOwnershipComponent extends FormReactive implements OnInit {
64 const videoChangeOwnership = this.videoChangeOwnership 64 const videoChangeOwnership = this.videoChangeOwnership
65 this.videoOwnershipService 65 this.videoOwnershipService
66 .acceptOwnership(videoChangeOwnership.id, { channelId: channel }) 66 .acceptOwnership(videoChangeOwnership.id, { channelId: channel })
67 .subscribe( 67 .subscribe({
68 () => { 68 next: () => {
69 this.notifier.success($localize`Ownership accepted`) 69 this.notifier.success($localize`Ownership accepted`)
70 if (this.accepted) this.accepted.emit() 70 if (this.accepted) this.accepted.emit()
71 this.videoChangeOwnership = undefined 71 this.videoChangeOwnership = undefined
72 }, 72 },
73 73
74 err => this.notifier.error(err.message) 74 error: err => this.notifier.error(err.message)
75 ) 75 })
76 } 76 }
77} 77}