aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts')
-rw-r--r--client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts b/client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts
index a3d3fa6fb..79b56705f 100644
--- a/client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts
+++ b/client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts
@@ -14,6 +14,10 @@ export class VideoAlertComponent {
14 return this.video && this.video.state.id === VideoState.TO_TRANSCODE 14 return this.video && this.video.state.id === VideoState.TO_TRANSCODE
15 } 15 }
16 16
17 isVideoToEdit () {
18 return this.video && this.video.state.id === VideoState.TO_EDIT
19 }
20
17 isVideoTranscodingFailed () { 21 isVideoTranscodingFailed () {
18 return this.video && this.video.state.id === VideoState.TRANSCODING_FAILED 22 return this.video && this.video.state.id === VideoState.TRANSCODING_FAILED
19 } 23 }