diff options
author | Chocobozzz <me@florianbigard.com> | 2022-02-07 10:27:08 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-02-07 10:27:08 +0100 |
commit | 4afec7357129590b0e0f3558ecb9ac20e0903600 (patch) | |
tree | 3c06c04ed4e2866e9102bfdb6882bd7f68a084a1 /client/src/app/+videos/+video-edit/video-update.component.ts | |
parent | 4393b2552c4ecb9fe43ff78480da0826c04709c0 (diff) | |
download | PeerTube-4afec7357129590b0e0f3558ecb9ac20e0903600.tar.gz PeerTube-4afec7357129590b0e0f3558ecb9ac20e0903600.tar.zst PeerTube-4afec7357129590b0e0f3558ecb9ac20e0903600.zip |
Fix scheduled publication on upload
Diffstat (limited to 'client/src/app/+videos/+video-edit/video-update.component.ts')
-rw-r--r-- | client/src/app/+videos/+video-edit/video-update.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+videos/+video-edit/video-update.component.ts b/client/src/app/+videos/+video-edit/video-update.component.ts index 5e4955f6a..d9e8344fc 100644 --- a/client/src/app/+videos/+video-edit/video-update.component.ts +++ b/client/src/app/+videos/+video-edit/video-update.component.ts | |||
@@ -24,7 +24,7 @@ export class VideoUpdateComponent extends FormReactive implements OnInit { | |||
24 | liveVideo: LiveVideo | 24 | liveVideo: LiveVideo |
25 | 25 | ||
26 | isUpdatingVideo = false | 26 | isUpdatingVideo = false |
27 | schedulePublicationPossible = false | 27 | forbidScheduledPublication = false |
28 | waitTranscodingEnabled = true | 28 | waitTranscodingEnabled = true |
29 | 29 | ||
30 | private updateDone = false | 30 | private updateDone = false |
@@ -55,7 +55,7 @@ export class VideoUpdateComponent extends FormReactive implements OnInit { | |||
55 | this.videoCaptions = videoCaptions | 55 | this.videoCaptions = videoCaptions |
56 | this.liveVideo = liveVideo | 56 | this.liveVideo = liveVideo |
57 | 57 | ||
58 | this.schedulePublicationPossible = this.video.privacy === VideoPrivacy.PRIVATE | 58 | this.forbidScheduledPublication = this.video.privacy !== VideoPrivacy.PRIVATE |
59 | } | 59 | } |
60 | 60 | ||
61 | onFormBuilt () { | 61 | onFormBuilt () { |