diff options
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r-- | client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.ts | 4 | ||||
-rw-r--r-- | client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.ts index 56227d11c..29910369a 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.ts | |||
@@ -103,7 +103,7 @@ export class EditBasicConfigurationComponent implements OnInit, OnChanges { | |||
103 | signupControl.valueChanges | 103 | signupControl.valueChanges |
104 | .pipe(pairwise()) | 104 | .pipe(pairwise()) |
105 | .subscribe(([ oldValue, newValue ]) => { | 105 | .subscribe(([ oldValue, newValue ]) => { |
106 | if (oldValue !== true && newValue === true) { | 106 | if (oldValue === false && newValue === true) { |
107 | /* eslint-disable max-len */ | 107 | /* eslint-disable max-len */ |
108 | this.signupAlertMessage = $localize`You enabled signup: we automatically enabled the "Block new videos automatically" checkbox of the "Videos" section just below.` | 108 | this.signupAlertMessage = $localize`You enabled signup: we automatically enabled the "Block new videos automatically" checkbox of the "Videos" section just below.` |
109 | 109 | ||
@@ -118,5 +118,7 @@ export class EditBasicConfigurationComponent implements OnInit, OnChanges { | |||
118 | }) | 118 | }) |
119 | } | 119 | } |
120 | }) | 120 | }) |
121 | |||
122 | signupControl.updateValueAndValidity() | ||
121 | } | 123 | } |
122 | } | 124 | } |
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts index a38438e3a..184dfd921 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts | |||
@@ -104,5 +104,10 @@ export class EditVODTranscodingComponent implements OnInit, OnChanges { | |||
104 | videoStudioControl.setValue(false) | 104 | videoStudioControl.setValue(false) |
105 | } | 105 | } |
106 | }) | 106 | }) |
107 | |||
108 | transcodingControl.updateValueAndValidity() | ||
109 | webtorrentControl.updateValueAndValidity() | ||
110 | videoStudioControl.updateValueAndValidity() | ||
111 | hlsControl.updateValueAndValidity() | ||
107 | } | 112 | } |
108 | } | 113 | } |