diff options
author | Florian CUNY <poslovitch@bentobox.world> | 2020-12-01 15:04:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-01 15:04:29 +0100 |
commit | a3f1595f791e3084398f983847c4bac43498a541 (patch) | |
tree | 0feb060316e701f69a4fbf5d09b1eb96f32d7650 /client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.html | |
parent | 117c643e45364340b9eaa0783ee2d23abc0324df (diff) | |
download | PeerTube-a3f1595f791e3084398f983847c4bac43498a541.tar.gz PeerTube-a3f1595f791e3084398f983847c4bac43498a541.tar.zst PeerTube-a3f1595f791e3084398f983847c4bac43498a541.zip |
Select first available channel when accepting ownership change (#3382)
* Select first available channel when accepting ownership change
Implements https://github.com/Chocobozzz/PeerTube/issues/2240
* Made use of #patchValue() to set the default selected value
And removed the disabled state for the Accept button
Diffstat (limited to 'client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.html')
-rw-r--r-- | client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.html | 1 |
1 files changed, 0 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> |