]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts
Fix privacy concern for remote videos
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-watch / shared / information / video-alert.component.ts
index 8a46ba0d59e4ab28817711318a59c62407fa317d..257d463b4710ae690370c4f77f5a76481dc577c9 100644 (file)
@@ -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 () {