diff options
author | Chocobozzz <me@florianbigard.com> | 2019-06-07 11:35:06 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-06-07 11:35:06 +0200 |
commit | 4adf26735fae8caeb8172c909afd0f3ca32d695f (patch) | |
tree | 22d619d9e0c88cb5e18a7308615fab97c42d5241 /client/src/app/videos | |
parent | f238aec54f93bf6ef73ef17be23159ecd1d83f96 (diff) | |
download | PeerTube-4adf26735fae8caeb8172c909afd0f3ca32d695f.tar.gz PeerTube-4adf26735fae8caeb8172c909afd0f3ca32d695f.tar.zst PeerTube-4adf26735fae8caeb8172c909afd0f3ca32d695f.zip |
Fix error in form when scheduling video publication
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/+video-edit/shared/video-edit.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.ts b/client/src/app/videos/+video-edit/shared/video-edit.component.ts index c80efd802..8345645f6 100644 --- a/client/src/app/videos/+video-edit/shared/video-edit.component.ts +++ b/client/src/app/videos/+video-edit/shared/video-edit.component.ts | |||
@@ -189,7 +189,7 @@ export class VideoEditComponent implements OnInit, OnDestroy { | |||
189 | } | 189 | } |
190 | 190 | ||
191 | private trackPrivacyChange () { | 191 | private trackPrivacyChange () { |
192 | // We will update the "support" field depending on the channel | 192 | // We will update the schedule input and the wait transcoding checkbox validators |
193 | this.form.controls[ 'privacy' ] | 193 | this.form.controls[ 'privacy' ] |
194 | .valueChanges | 194 | .valueChanges |
195 | .pipe(map(res => parseInt(res.toString(), 10))) | 195 | .pipe(map(res => parseInt(res.toString(), 10))) |