aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/video-watch.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch.component.ts')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts
index 995fb8e2b..04bcc6cd1 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/videos/+video-watch/video-watch.component.ts
@@ -289,6 +289,10 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
289 return this.video && this.video.state.id === VideoState.TO_TRANSCODE 289 return this.video && this.video.state.id === VideoState.TO_TRANSCODE
290 } 290 }
291 291
292 isVideoToImport () {
293 return this.video && this.video.state.id === VideoState.TO_IMPORT
294 }
295
292 hasVideoScheduledPublication () { 296 hasVideoScheduledPublication () {
293 return this.video && this.video.scheduledUpdate !== undefined 297 return this.video && this.video.scheduledUpdate !== undefined
294 } 298 }