X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bvideos%2F%2Bvideo-watch%2Fshared%2Finformation%2Fvideo-alert.component.ts;h=257d463b4710ae690370c4f77f5a76481dc577c9;hb=5196817c5d7cf86b35f3fa2cfe108ba283944482;hp=8a46ba0d59e4ab28817711318a59c62407fa317d;hpb=2453589a286e1f65843af582512387b2fa17b502;p=github%2FChocobozzz%2FPeerTube.git 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 8a46ba0d5..257d463b4 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 @@ -18,8 +18,12 @@ export class VideoAlertComponent { return this.video && this.video.state.id === VideoState.TO_IMPORT } + isVideoToMoveToExternalStorage () { + return this.video && this.video.state.id === VideoState.TO_MOVE_TO_EXTERNAL_STORAGE + } + hasVideoScheduledPublication () { - return this.video && this.video.scheduledUpdate !== undefined + return this.video?.scheduledUpdate !== undefined } isWaitingForLive () {