aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.html1
-rw-r--r--client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.ts5
2 files changed, 5 insertions, 1 deletions
diff --git a/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.html b/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.html
index def1cbab6..27aab13b6 100644
--- a/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.html
+++ b/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.html
@@ -28,7 +28,6 @@
28 28
29 <input 29 <input
30 type="submit" i18n-value value="Accept" class="action-button-submit" 30 type="submit" i18n-value value="Accept" class="action-button-submit"
31 [disabled]="!form.valid"
32 (click)="close()" 31 (click)="close()"
33 > 32 >
34 </div> 33 </div>
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 })