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.ts5
1 files changed, 5 insertions, 0 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 51e9b2a6d..0e2395754 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
@@ -47,6 +47,11 @@ export class MyAcceptOwnershipComponent extends FormReactive implements OnInit {
47 } 47 }
48 48
49 show (videoChangeOwnership: VideoChangeOwnership) { 49 show (videoChangeOwnership: VideoChangeOwnership) {
50 // Select the first available channel by default
51 this.form.patchValue({
52 channel: this.videoChannels[0].id
53 })
54
50 this.videoChangeOwnership = videoChangeOwnership 55 this.videoChangeOwnership = videoChangeOwnership
51 this.modalService 56 this.modalService
52 .open(this.modal, { centered: true }) 57 .open(this.modal, { centered: true })