diff options
Diffstat (limited to 'client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts')
-rw-r--r-- | client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts index 2251b0511..4e77cac47 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts +++ b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts | |||
@@ -47,8 +47,6 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy | |||
47 | error: string | 47 | error: string |
48 | enableRetryAfterError: boolean | 48 | enableRetryAfterError: boolean |
49 | 49 | ||
50 | schedulePublicationPossible = false | ||
51 | |||
52 | // So that it can be accessed in the template | 50 | // So that it can be accessed in the template |
53 | protected readonly BASE_VIDEO_UPLOAD_URL = VideoService.BASE_VIDEO_URL + '/upload-resumable' | 51 | protected readonly BASE_VIDEO_UPLOAD_URL = VideoService.BASE_VIDEO_URL + '/upload-resumable' |
54 | 52 | ||
@@ -107,8 +105,6 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy | |||
107 | 105 | ||
108 | this.resumableUploadService.events | 106 | this.resumableUploadService.events |
109 | .subscribe(state => this.onUploadVideoOngoing(state)) | 107 | .subscribe(state => this.onUploadVideoOngoing(state)) |
110 | |||
111 | this.schedulePublicationPossible = this.videoPrivacies.some(p => p.id === VideoPrivacy.PRIVATE) | ||
112 | } | 108 | } |
113 | 109 | ||
114 | ngAfterViewInit () { | 110 | ngAfterViewInit () { |