ActivityPub-federated video streaming platform using P2P directly in your web browser
Select first available channel when accepting ownership change (#3382)
Florian CUNYa3f1595f791e
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.htmlindex def1cbab6f..27aab13b65 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 @@<inputtype="submit" i18n-value value="Accept" class="action-button-submit"- [disabled]="!form.valid"(click)="close()"></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.tsindex 51e9b2a6d9..0e23957545 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 {}show (videoChangeOwnership: VideoChangeOwnership) {+ // Select the first available channel by default+ this.form.patchValue({+ channel: this.videoChannels[0].id+ })+this.videoChangeOwnership = videoChangeOwnershipthis.modalService.open(this.modal, { centered: true })