X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bvideos%2F%2Bvideo-edit%2Fvideo-update.component.ts;h=d9e8344fcde8ca6fd7aaaf708bf46ac0cff28823;hb=d0800f7661f13fabe7bb6f4aa0ea50764f106405;hp=5e4955f6ae878557b50b2ef44c9aa1926130ba46;hpb=cc4bf76c13e38e9065d49161b6e0485657424577;p=github%2FChocobozzz%2FPeerTube.git 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 { liveVideo: LiveVideo isUpdatingVideo = false - schedulePublicationPossible = false + forbidScheduledPublication = false waitTranscodingEnabled = true private updateDone = false @@ -55,7 +55,7 @@ export class VideoUpdateComponent extends FormReactive implements OnInit { this.videoCaptions = videoCaptions this.liveVideo = liveVideo - this.schedulePublicationPossible = this.video.privacy === VideoPrivacy.PRIVATE + this.forbidScheduledPublication = this.video.privacy !== VideoPrivacy.PRIVATE } onFormBuilt () {